Poison messages

 

In some circumstances, a message delivered to an MDB might be rolled back onto a WebSphere MQ queue. This can happen, for example, if a message is delivered within a unit of work that is subsequently rolled back. A message that is rolled back is generally delivered again, but a badly formatted message might repeatedly cause an MDB to fail and therefore cannot be delivered. Such a message is called a poison message. We can configure WebSphere MQ so that WebSphere MQ JMS automatically transfers a poison message to another queue for further investigation or discards the message. For information about how to configure WebSphere MQ in this way, see Handling poison messages.


uj40090_