JMS monitor adapter event
The following table describes the elements for JMS monitor adapter event.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
The following figure shows an XML sample for the JMS monitor adapter event.
XML sample of the JMS monitor adapter event
<message>
<destination> the queue/topic </destination>
<header>
<JMSDeliveryMode/>
<JMSExpiration/>
<JMSPriority/>
<JMSMessageID/>
<JMSTimestamp/>
<JMSCorrelationID/>
<JMSType/>
<JMSReply-to/>
<JMSRedelivered/>
<properties>
<property>
<name>string</name>
<value type="Integer">string</value>
</property>
.
.
<property>
<name>string</name>
<value type="Float">string</value>
</property>
</properties>
</header>
<body>
<map>
<entry>
<name>Emp Name</name>
<value type="String">Mr Bean.</value>
</entry>
<entry>
<name>Emp id</name>
<value type="Integer">1234</value>
</entry>
.
.
<entry>
<name>Work Hours</name>
<value type="Float">23.45</value>
</entry>
</map>
<text>First message</text>
<bytes>SHJHDGJHG=</bytes>
</body>
</message>
<destination> the queue/topic </destination>
<header>
<JMSDeliveryMode/>
<JMSExpiration/>
<JMSPriority/>
<JMSMessageID/>
<JMSTimestamp/>
<JMSCorrelationID/>
<JMSType/>
<JMSReply-to/>
<JMSRedelivered/>
<properties>
<property>
<name>string</name>
<value type="Integer">string</value>
</property>
.
.
<property>
<name>string</name>
<value type="Float">string</value>
</property>
</properties>
</header>
<body>
<map>
<entry>
<name>Emp Name</name>
<value type="String">Mr Bean.</value>
</entry>
<entry>
<name>Emp id</name>
<value type="Integer">1234</value>
</entry>
.
.
<entry>
<name>Work Hours</name>
<value type="Float">23.45</value>
</entry>
</map>
<text>First message</text>
<bytes>SHJHDGJHG=</bytes>
</body>
</message>
The following figure shows the XML sample response for the JMS monitor adapter event for BytesMessages type.
XML sample of the JMS monitor adapter event message response for Byte content type
<message>
<destination>dynamicQueues/TestQueue</destination>
<header>
<JMSDeliveryMode>1</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>0</JMSPriority>
<JMSMessageID>ID:Host-IP-1399-1258954714529-0:4:1:1:1</JMSMessageID>
<JMSTimestamp>1258956950466</JMSTimestamp>
<JMSCorrelationID />
<JMSType>Bytes</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>UTF-16</character-set>
<JMSReplyTo />
</header>
<body>
<Bytes>Bytes message with charset UTF-16</Bytes>
</body>
</message>
<destination>dynamicQueues/TestQueue</destination>
<header>
<JMSDeliveryMode>1</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>0</JMSPriority>
<JMSMessageID>ID:Host-IP-1399-1258954714529-0:4:1:1:1</JMSMessageID>
<JMSTimestamp>1258956950466</JMSTimestamp>
<JMSCorrelationID />
<JMSType>Bytes</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>UTF-16</character-set>
<JMSReplyTo />
</header>
<body>
<Bytes>Bytes message with charset UTF-16</Bytes>
</body>
</message>
The following figure shows the XML sample response for the JMS monitor adapter event for mixed content type.
XML sample of the JMS monitor adapter event message response for mixed content type
<message>
<destination>dynamicQueues/TestQueue</destination>
<header>
<JMSDeliveryMode>1</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>0</JMSPriority>
<JMSMessageID>ID:Host-IP-1399-1258954714529-0:4:2:1:3</JMSMessageID>
<JMSTimestamp>1258967812374</JMSTimestamp>
<JMSCorrelationID />
<JMSType>Bytes</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>UTF-16</character-set>
<JMSReplyTo />
<properties>
<property>
<name>Work hours</name>
<value type="Float">38.87</value>
</property>
<property>
<name>Emp id</name>
<value type="Integer">31100</value>
</property>
<property>
<name>Emp Nmae</name>
<value type="String">Mr. Bean</value>
</property>
</properties>
</header>
<body>
<Bytes>SGHGKJH87HCIU=</Bytes>
</body>
</message>
<destination>dynamicQueues/TestQueue</destination>
<header>
<JMSDeliveryMode>1</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSPriority>0</JMSPriority>
<JMSMessageID>ID:Host-IP-1399-1258954714529-0:4:2:1:3</JMSMessageID>
<JMSTimestamp>1258967812374</JMSTimestamp>
<JMSCorrelationID />
<JMSType>Bytes</JMSType>
<JMSRedelivered>false</JMSRedelivered>
<character-set>UTF-16</character-set>
<JMSReplyTo />
<properties>
<property>
<name>Work hours</name>
<value type="Float">38.87</value>
</property>
<property>
<name>Emp id</name>
<value type="Integer">31100</value>
</property>
<property>
<name>Emp Nmae</name>
<value type="String">Mr. Bean</value>
</property>
</properties>
</header>
<body>
<Bytes>SGHGKJH87HCIU=</Bytes>
</body>
</message>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*