Hi I've a client application which publishes the message to MQ, I'm using jmsTemplate's convertAndSend(message) method for it.
Everything is working fine, I just need one help to implement some re-delivery mechanism. What if the queue manager is down and throws a runTimeException, in this case how can I re-send the unpublished message to queue.
Could anyone suggest any simple idea on this?
One thing which I can perform to call converAndSend method in loop for 5 times in catchBlock in case of queue unavailability, but I dont want to use this.
Any mechanism provided by JMSTemplate??
Thanks in advance.