WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Non-durable subscribers

A non-durable subscriber is a message consumer that only receives messages that are published while the subscriber is active. Any messages delivered while the subscriber is inactive are lost.

The information in this topic is relevant only when you are using publish/subscribe messaging over WebSphere MQ.

If message consumer applications are not shut down gracefully, with the consumer objects being deleted prior to or during the closing of the connection, then messages can be left on the broker queues for subscribers that are no longer active.

In this situation, the queues can be cleared of these messages using the Cleanup utility provided with WebSphere MQ Classes for JMS. Full details of how to use this utility are provided in WebSphere MQ Using Java.

You may also need to increase the queue depth of the subscriber queue if you find large numbers of messages left on this queue as a result of this issue.


Concept topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.