Hi,
I wanted to know if there is a way to temporarily put either the JMS queue to sleep or tell the MBean to stop reading from the queue for X amount of seconds/minutes. Basically my MBean gets a message from the queue and passes it to a proxy which calls a HTTP server and passes the message along. If the HTTP server is not available I want to be able to go to sleep for a few seconds and then try again later. Assuming I can roll back and put the message back on the queue if unable to deliver it to the HTTP endpoint, the MBean will continuously read the same message from the queue and try to connect to the HTTP Url which is counter productive. Thanks in Advance
Adil
Start Free Trial