public class OrderManagerBean extends TestMuleEventBean implements OrderManager, MuleSubscriptionEventListener
OrderManagerBean
receives Order beans from Mule and dispatches
processed results back through Mule via the applicationContextConstructor and Description |
---|
OrderManagerBean() |
Modifier and Type | Method and Description |
---|---|
String[] |
getSubscriptions() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
String |
processOrder(Order order) |
void |
setSubscriptions(String[] subscriptions) |
getEventCallback, setEventCallback
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
onApplicationEvent
in class TestMuleEventBean
public String processOrder(Order order)
processOrder
in interface OrderManager
public String[] getSubscriptions()
getSubscriptions
in interface MuleSubscriptionEventListener
public void setSubscriptions(String[] subscriptions)
setSubscriptions
in interface MuleSubscriptionEventListener
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.