dcsimg
JMS - Achieving gaurateed sending of messages in the Queue
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chetan_M
Posted On:   Tuesday, February 3, 2004 10:29 PM

I am working with Weblogic 7.1 and using JMS.
I have a component which populates the Queue with messages and a MDB which send messages to the client. Now the problem am facing is,
One Component puts messages in queue, and mdb (onMessage()) called and it tries to send mail. Now suppose smtp(mail) server is down for some reason. So no message delivary takes place. Now when the mail server is up again, unsent messages (which i suppose are recollected by messengin service and kept in queue)are to be sent again.Sending of unsent messages is not happenning. How do we achieve this.
Hope anyone has usefull hint for this issue

Re: JMS - Achieving gaurateed sending of messages in the Queue

Posted By:   chiranjeevi  
Posted On:   Monday, May 18, 2015 08:42 AM

Hi,

I am facing one issue while using MDB in my application with Webspehere application. Could you please hep me onthis.

I have one Servlet , in servlet i have puted a message to Queue. and i have one MDB class whre i implemented my onMessage message method wiht my bussiness logic.

Problem is , i called my servelt it will put one message to queue, but my onMessage method called twice instead once. i callled onMessage method two times as duplciate .
Please help me on this.

Thank you,
Chiranjeevi G

Re: JMS - Achieving gaurateed sending of messages in the Queue

Posted By:   Rajeev_Khanna  
Posted On:   Monday, February 16, 2004 10:14 PM

r u using the transaction in your MDB. if yes, than are you using Bean Managed or Container Managed transaction. In my openion if you use container managed transaction with transaction attribute required, it should work.
About | Sitemap | Contact