Hi,
When our program receives a JMS message which instructs it to shut down, it calls
System.exit(0). It works well with another application server. When we try to migrate to
JBoss, we found that JMS message will not be consumed, which means the program does
receive the message and exit but when it restarts, that JMS message will be redelievered
and cause it to exit again and therefor an infinite loop.
We use non-transactional messaging and auto acknolowledge:
QueueSession qSession = qCon.createQueueSession(false,
Session.AUTO_ACKNOWLEDGE);
Can anyone kindly help? many thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999479#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...