How to show the dequeue message body in activeMQ log files ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to show the dequeue message body in activeMQ log files ?

skao
Hi All,

We are using activeMQ-5.15.0 version in Linux.
Is there any way to show the detail of dequeue message from consumers in the
logging files ?

We set it up to DEBUG mode in activeMQ configuration but it did not show the
detail of dequeue message.
Below is the logging detail in activemq.log but it did not help too much.
I really wanted to see the detail message body before the messages got
dequeued in activeMQ.

Please kindly help if anybody know how to do it.
I am new in activeMQ.


Sincerely,
Samuel

2020-05-08 01:47:32,740 | DEBUG | queue://MSB_TO_MESA_WO_FWD_RSP expiring
messages .. | org.apache.activemq.broker.region.Queue | ActiveMQ
Broker[localhost] Scheduler
2020-05-08 01:47:32,741 | DEBUG | queue://MSB_TO_MESA_WO_FWD_RSP expiring
messages done. | org.apache.activemq.broker.region.Queue | ActiveMQ
Broker[localhost] Scheduler
2020-05-08 01:47:32,741 | DEBUG | queue://MSB_TO_MESA_WO_FWD_RSP,
subscriptions=0, memory=0%, size=0, pending=0 toPageIn: 0, force:false,
Inflight: 0, pagedInMessages.size 0, pagedInPendingDispatch.size 0,
enqueueCount: 0, dequeueCount: 0, memUsage:0, maxPageSize:200 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[localhost]
Task-4
2020-05-08 01:47:32,747 | DEBUG | queue://MESA_TO_MII_CFR expiring messages
.. | org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost]
Scheduler
2020-05-08 01:47:32,747 | DEBUG | queue://MESA_TO_MII_CFR expiring messages
done. | org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost]
Scheduler
2020-05-08 01:47:32,747 | DEBUG | queue://MESA_TO_MII_CFR, subscriptions=1,
memory=0%, size=0, pending=0 toPageIn: 0, force:false, Inflight: 0,
pagedInMessages.size 0, pagedInPendingDispatch.size 0, enqueueCount: 0,
dequeueCount: 0, memUsage:0, maxPageSize:200 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[localhost]
Task-4
2020-05-08 01:47:32,749 | DEBUG | queue://SLAStatus_Out_MX2_1 expiring
messages .. | org.apache.activemq.broker.region.Queue | ActiveMQ
Broker[localhost] Scheduler
2020-05-08 01:47:32,750 | DEBUG | queue://SLAStatus_Out_MX2_1 expiring
messages done. | org.apache.activemq.broker.region.Queue | ActiveMQ
Broker[localhost] Scheduler
2020-05-08 01:47:32,750 | DEBUG | queue://SLAStatus_Out_MX2_1,
subscriptions=0, memory=0%, size=0, pending=0 toPageIn: 0, force:false,
Inflight: 0, pagedInMessages.size 0, pagedInPendingDispatch.size 0,
enqueueCount: 0, dequeueCount: 0, memUsage:0, maxPageSize:200 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[localhost]
Task-4
2020-05-08 01:47:32,821 | DEBUG | WriteChecker: 10000ms elapsed since last
write check. | org.apache.activemq.transport.AbstractInactivityMonitor |
ActiveMQ InactivityMonitor WriteCheckTimer
2020-05-08 01:47:32,822 | DEBUG | Running
WriteCheck[tcp://10.10.154.136:40086] |
org.apache.activemq.transport.AbstractInactivityMonitor | ActiveMQ
InactivityMonitor Worker
2020-05-08 01:47:32,838 | DEBUG | WriteChecker: 10000ms elapsed since last
write check. | org.apache.activemq.transport.AbstractInactivityMonitor |
ActiveMQ InactivityMonitor WriteCheckTimer
2020-05-08 01:47:32,839 | DEBUG | Running
WriteCheck[tcp://10.10.154.136:40088] |
org.apache.activemq.transport.AbstractInactivityMonitor | ActiveMQ
InactivityMonitor Worker
2020-05-08 01:47:32,851 | DEBUG | WriteChecker: 10000ms elapsed since last
write check. | org.apache.activemq.transport.AbstractInactivityMonitor |
ActiveMQ InactivityMonitor WriteCheckTimer
2020-05-08 01:47:32,853 | DEBUG | Running
WriteCheck[tcp://10.10.154.136:40090] |
org.apache.activemq.transport.AbstractInactivityMonitor | ActiveMQ
InactivityMonitor Worker
2020-05-08 01:47:32,857 | DEBUG | WriteChecker: 10000ms elapsed since last
write check. | org.apache.activemq.transport.AbstractInactivityMonitor |
ActiveMQ InactivityMonitor WriteCheckTimer
2020-05-08 01:47:32,859 | DEBUG | Running
WriteCheck[tcp://10.10.154.136:40092] |
org.apache.activemq.transport.AbstractInactivityMonitor | ActiveMQ
InactivityMonitor Worker
2020-05-08 01:47:33,459 | DEBUG | Unregistering MBean
org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=MESA_TO_MII_CFR,endpoint=Consumer,clientId=ID_pprus3j4r01-24497-1586713321493-443206_1,consumerId=ID_pprus3j4r01-24497-1586713321493-443207_1_1_2
| org.apache.activemq.broker.jmx.ManagementContext | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,460 | DEBUG | localhost removing consumer:
ID:pprus3j4r01-24497-1586713321493-443207:1:1:2 for destination:
queue://MESA_TO_MII_CFR | org.apache.activemq.broker.region.AbstractRegion |
ActiveMQ Transport: tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,461 | DEBUG | queue://MESA_TO_MII_CFR remove sub:
QueueSubscription: consumer=ID:pprus3j4r01-24497-1586713321493-443207:1:1:2,
destinations=1, dispatched=0, delivered=0, pending=0, prefetch=1000,
prefetchExtension=0, lastDeliveredSeqId: 0, dequeues: 0, dispatched: 0,
inflight: 0, groups: 0 | org.apache.activemq.broker.region.Queue | ActiveMQ
Transport: tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,462 | DEBUG | queue://MESA_TO_MII_CFR, subscriptions=0,
memory=0%, size=0, pending=0 toPageIn: 0, force:false, Inflight: 0,
pagedInMessages.size 0, pagedInPendingDispatch.size 0, enqueueCount: 0,
dequeueCount: 0, memUsage:0, maxPageSize:200 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[localhost]
Task-4
2020-05-08 01:47:33,462 | DEBUG | Publishing:
tcp://pprgblfabamq04.aligntech.com:61616 for broker transport URI:
tcp://pprgblfabamq04.aligntech.com:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
| org.apache.activemq.broker.TransportConnector | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,463 | DEBUG | Publishing:
tcp://pprgblfabamq04.aligntech.com:61616 for broker transport URI:
tcp://pprgblfabamq04.aligntech.com:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
| org.apache.activemq.broker.TransportConnector | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,485 | DEBUG | localhost adding consumer:
ID:pprus3j4r01-24497-1586713321493-443207:1:1:3 for destination:
queue://MESF_TO_MII_CFR | org.apache.activemq.broker.region.AbstractRegion |
ActiveMQ Transport: tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,487 | DEBUG | queue://MESF_TO_MII_CFR add sub:
QueueSubscription: consumer=ID:pprus3j4r01-24497-1586713321493-443207:1:1:3,
destinations=0, dispatched=0, delivered=0, pending=0, prefetch=1000,
prefetchExtension=0, dequeues: 0, dispatched: 0, inflight: 0 |
org.apache.activemq.broker.region.Queue | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,487 | DEBUG | queue://MESF_TO_MII_CFR, subscriptions=1,
memory=0%, size=0, pending=0 toPageIn: 0, force:false, Inflight: 0,
pagedInMessages.size 0, pagedInPendingDispatch.size 0, enqueueCount: 0,
dequeueCount: 0, memUsage:0, maxPageSize:200 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[localhost]
Task-4
2020-05-08 01:47:33,487 | DEBUG | Publishing:
tcp://pprgblfabamq04.aligntech.com:61616 for broker transport URI:
tcp://pprgblfabamq04.aligntech.com:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
| org.apache.activemq.broker.TransportConnector | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616
2020-05-08 01:47:33,489 | DEBUG | Publishing:
tcp://pprgblfabamq04.aligntech.com:61616 for broker transport URI:
tcp://pprgblfabamq04.aligntech.com:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
| org.apache.activemq.broker.TransportConnector | ActiveMQ Transport:
tcp:///10.180.128.170:60315@61616




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html