resend message after catching JMS Exception

Hi,If i resend message after catching JMS Exception is there any chance that the message will be send to the destination queue? (without reconnecting to the queue).thanks!
[192 byte] By [liat23a] at [2007-11-26 16:51:23]
# 1

The problem is you don't really know if its already been sent or not. Then if the broker's gone down you need to recreate your connection, sessions, producers, consumers etc.

Its much easier to just use a JMS provider which supports auto-reconnection for you which totally hides and fixes all these problems

http://activemq.apache.org/how-can-i-support-auto-reconnection.html

James

http://logicblaze.com/

Open Source SOA

strachaja at 2007-7-8 23:19:03 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...