This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Retrieve Message from Message Driven bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Retrieve Message from Message Driven bean" Watch "Retrieve Message from Message Driven bean" New topic
Author

Retrieve Message from Message Driven bean

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 129

I have a web application that sends the message to Websphere MQ Series,The message reaches the third party application and it sends back a reply,I have used a MDB to listen to all messages that the Third party application sends back

but once i get the message in MDB i want to give it to my web application so that it can process the message how to do that ?

Or in other words how to share the helper classes in the web application with the message driven bean
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

And what would the web application do with message ? Can you give more details ?


Groovy
Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 129

sorry for the delay in resposnse

I was testing out various options ,

Earlier the web application used to send and receive mesages synchronously,with out MQ,now we need to implement it with MQ in asynchrounous way the logic for handling the reply messages are there in the web app how to access those clases from MDB
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

The web application would have wait until it receives the reply. You will have to take care of timeout here because HTTP is based on request/response mechanism.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve Message from Message Driven bean