Sun Java System Message Queue 4.3 Developer's Guide for JMX Clients

Notifications

The transaction manager monitor MBean supports the notifications shown in Table 3–72. These notifications are instances of the Message Queue JMX class TransactionNotification, and their names are defined as static constants in that class.

Table 3–72 Transaction Manager Monitor Notifications

Name 

Utility Constant 

Description 

mq.transaction.prepare [Distributed transactions only]

TransactionNotification.TRANSACTION_PREPARE

Transaction has entered prepared state 

mq.transaction.commit

TransactionNotification.TRANSACTION_COMMIT

Transaction committed 

mq.transaction.rollback

TransactionNotification.TRANSACTION_ROLLBACK

Transaction rolled back 

Table 3–73 shows the method defined in class TransactionNotification for obtaining details about a transaction manager monitor notification.

Table 3–73 Data Retrieval Method for Transaction Manager Monitor Notifications

Method 

Result Type 

Description 

getTransactionID

String

Transaction identifier