JMS - Achieving gaurateed sending of messages in the Queue
1 posts in topic
Flat View  Flat View

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:   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