Poison Messages in JMS

Hi,

I would like to know about 'Poison Messages in JMS'

When, how, why they occur. How to avoid them

Any links, sample code, resources, ideas highly appreciated. Thanks in advace
LVL 7
gudii9Asked:
Who is Participating?
 
GuruJavaConnect With a Mentor Commented:
Hi gudii,

Poison messages, messages the application can never successfully process.
A badly-formatted message arrives on a queue. Such a message might make the receiving application fail and back out the receipt of the message. In this situation, such a message might be received, then returned to the queue, repeatedly. These messages are known as poison messages. The ConnectionConsumer must be able to detect poison messages and reroute them to an alternative destination.

for more detail go here ...
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm35205_.htm
0
All Courses

From novice to tech pro — start learning today.