public class AsyncOrderManagerBean extends OrderManagerBean implements AsyncOrderManager, org.springframework.context.ApplicationContextAware
OrderManagerBean
receives order beans from Mule and dispatches
process relsults back through Mule via the applicationContext.Constructor and Description |
---|
AsyncOrderManagerBean() |
Modifier and Type | Method and Description |
---|---|
void |
processOrderAsync(Order order)
This will be invoked using as a web service.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
We need the application context to send our asyncronous result somewhere
|
getSubscriptions, onApplicationEvent, processOrder, setSubscriptions
getEventCallback, setEventCallback
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
applicationContext
- org.springframework.beans.BeansException
public void processOrderAsync(Order order)
processOrderAsync
in interface AsyncOrderManager
order
- Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.