• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieve Message from Message Driven bean

 
Arun Kumar
Ranch Hand
Posts: 133
Chrome Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what would the web application do with message ? Can you give more details ?
 
Arun Kumar
Ranch Hand
Posts: 133
Chrome Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic