Do we have an administrative ability to view pending messages for a durable subscriber without removing the messages for that durable subscriber?

Do we have an administrative ability to view pending messages for a durable subscriber without removing the messages for that durable subscriber?

book

Article ID: KB0089955

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
This can be achieved by changing the AUTO_ACKNOWLEDGE to CLIENT_ACKNOWLEDGE  while creating the session
to receive the message.  Please refer the sample program tibjmsDurableSubscriber.java which is located under
&ltEMS-HOME>/samples/java. In this sample code, the session was created with AUTO_ACKNOWLEDGE. so that, the session
automatically acknowledges a message when message processing is finished and messages will be removed from the
server. But if we set that as "CLIENT_CKNOWLEDGE", the session won't automatically acknowledge so the message will
be there in the server for other consumer. But till this connection is closed, it won't be released for other consumer.
By modifying the tibjmsDurableSubscriber.java, you should be able to achieve this.

If you need to do this in production environment, please test it in your test environment first.

Issue/Introduction

Do we have an administrative ability to view pending messages for a durable subscriber without removing the messages for that durable subscriber?