How can clients get notified from SwitchYard for a long-running process in FSW?
Issue
- I have a Web application based on Spring 3.2 which sends out an JMS event to a SwitchYard application in Fuse Service Works.
- Is there any way by which we can notify a web user once message processing is completed by the listener.
- One of the way to send a response event will be to make the web application listen to the reply from the SwitchYard application. But then how can the following scenario be addressed?
- User1 clicks on submit -> which in turn sends a JMS message.
- Listener on receiving the message processes it (message processing may take 20-30 minutes to complete).
- Listener application sends out another JMS event
"Process_complete".
- As this is a web application; there are
nusers simultaneously logging in to the application. How can we identify a correct user / what if an user is already logged off? - Is there any way to handle this?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
