Are any monitor messages generated when a message is passed to the undelivered queue?

Are any monitor messages generated when a message is passed to the undelivered queue?

book

Article ID: KB0093229

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
= = = = = =
Monitor message for the  message passed to the undelivered queue.

Solution:
= = = = =

The EMS server moves the prematurely exiting messages to the $sys.undelivered queue only if the messages have the JMS_TIBCO_PRESERVE_UNDELIVERED property set to true. The TIBCO Enterprise Message Service server only generates messages for monitor topics that currently have subscribers.

The monitoring messages have the following format:

$sys.monitor.&ltD>.&ltE>.&ltdestinationName>  

Here D is a destination type and E is an event we are interested in on the "destinationName".

D signifies the type of destination and whether to include the entire message:

       T — topic, include full message (as a byte array) into each event.
       t — topic, do not include full message into each event.
       Q — queue, include full message (as a byte array) into each event.
       q — queue, do not include full message into each event.

E signifies the type of event:

      r for receive
      s for send
      a for acknowledge
      p for premature exit of message
      * for all event types

To generate a monitor message when a message is passed to the $sys.undelivered queue by the EMS server make sure that JMS_TIBCO_PRESERVE_UNDELIVERED property is set to “true” and you have a subscriber for event  "p” for premature exit of message, that is a message prematurely exits due to expiration, being discarded or a maxRedelivery failure.

Issue/Introduction

Are any monitor messages generated when a message is passed to the undelivered queue?