When JMSXDeliveryCount get increased

What are the conditions in which JMSXDeliveryCount is increased in WebSphere MQ. I need all the scenarios under which it can happen.

Answers


The JMSXDeliveryCount is incremented every time a message is re-delivered to a consumer. A message could be redelivered:

1) A consumer using the Client Acknowledge mode received the message earlier did not call acknowledge() on that message.

2) A consumer received the message in a transaction, did not call a commit or called a rollback.

EDIT:

If the JMS Client is unable to process the message due to some bad JMS headers, then such a message(known as poison message) will not be delivered to application and JMS client will internally rollback that message. In this case also JMSXDeliveryCount is incremented.

In IBM MQ, have you set Backout Queue and Backout Threshold properties for the queue from which messages are being retrieved? JMS Client will put such bad messages to the backout queue once the Backout Threshold is reached. This is to avoid same message is retrieved by JMS client again and again thus blocking other good messages from being delivered to application.


Need Your Help

Styles.Render in MVC4

c# asp.net-mvc razor asp.net-mvc-4

In a .NET MVC4 project how does @Styles.Render works?

Generic shell/bash method to parse string for possibly quoted fields?

string bash parsing textfield

While coding munin scripts I often have to parse configuration files looking for some path.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.