JMS Queue has message pending
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Carol_Lee
Posted On:   Tuesday, January 7, 2003 09:57 AM

Hi, I created a JMS queue to hold some messages, then two message driven bean each take a message from the queue and use JavaMail API 1.2 to send an email out. But somehow, after a while, say, a couple of weeks, there will be about 20 messages pending the queue causing the queue hanging forever. Does anybody know what cause this JMS queue pending? Or is there anything wrong with this design? Thank you very much.

Re: JMS Queue has message pending

Posted By:   Neo_Gigs  
Posted On:   Tuesday, January 7, 2003 10:42 PM

I think your Queue did not clean up things, do you use any transactional thing while sending in messages? If yes, need to issue commit(); to let it go.

Also check the configuration file about expiration of Queue.

Neo Gigs
"Follow the white rabbit..."

About | Sitemap | Contact