Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-27 Thread skao
Hi Tim, Hmmm... That is interesting. Let me try to produce a new message in activemq and see if I can see the json message body. On the other hand, the plain text message is working fine that I can see the message body. Will try another json message to verify. Regards, Samuel -- Sent from: h

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-26 Thread skao
This is exactly what I added in activemq.xml as below. It only created the header Info instead of the real message body. It looks exactly the same when I review it in activeMQ console. No detail message body. xmlns:camel="http://camel.apache.org/schema/spring";

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-26 Thread skao
Hi JB, I have found a article to to backup enqueued messages when you need the body of messages. https://stackoverflow.com/questions/43625848/how-to-see-dequeued-messages-in-activemq Here is what I changed in active.xml as below: xmlns:camel="http://camel.apache.org/schema/spring"; http://cam

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-21 Thread skao
Hi JB, Thanks a lot for the reply. We are thinking about the mirror queued to get all the en-queued messages from producer and not consumed it. It is working fine so far but it is kind of risky if we kept those mirror messages in activeMQ without consuming them which might crash the activeMQ serv

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-21 Thread skao
Hi Tim, I will review these link below and get an idea of these solution. https://activemq.apache.org/interceptors and https://activemq.apache.org/developing-plugins. Thanks a lot for your help. Thansk, Simon -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-21 Thread skao
Hi François, Thanks a lot for your reply. Like JB mention earlier, if the consumer de-queue the message and then it won't show up in kahaDB. Then there is no way for me to see the hahadb file to review the en-queue messages. I would like to see all messages even though they have been de-queued b

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, That is bad news for me. The only thing that we can do maybe is the mirror queued in activeMQ. Let me see if I can make it working. Anyway, thanks a lot for your help. Regards, Samuel -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, I would like to see all messages in activeMQ even though they have been de-queued by consumers already. Our users kept saying that they received duplicate messaged when they de-queued the messages. I would like to see all messages to confirm it. Will the activeMQ console still kept those d

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, Thanks a lot for your help . Let me try this one below. ./bin/export kahadb --source /some/directory/kahadb/ --target ~/some/directory/output.xml Basically I would like to see the message body from activeMQ in kahadb folder and see the detail Info of each message but they are in binary fil

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi François, Are you talking about the ActiveMQ console ? If not, could you please explain the detail of how to use Webconsole t open the KahaDB db.data file ? Thansk, Simon -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Got error when I tried to browse the queue in activeMQ. activemq browse --amqurl tcp://x:61616 MESF_TO_MII_CFR INFO: Loading '/home/jboss/apache-activemq-5.15.0//bin/env' INFO: Using java '/usr/java/jdk1.8.0_144/bin/java' Java Runtime: Oracle Corporation 1.8.0_144 /usr/java/jdk1.8.0_1

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, This is what I did in the Linux. Did I do something wrong to view the db.data file ? Please kindly advise. Regards, Samuel cd /home/jboss/apache-activemq-5.15.0/bin $ *./activemq browse /hom/jboss/apache-activemq-5.15.0/data/kahadb/db.data* INFO: Loading '/home/jboss/apache-activemq-5.1

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, I never used bin/activemq browse before but I could Google it a little bit. Thanks a lot. Regards, Samuel -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-20 Thread skao
Hi JB, Thanks a lot for your help. Could you be more specific on these steps below ? For instance, how to use the bin/activemq script ? Thansk, Samuel 1. Use JMX to browse the queue (directly or via REST thanks to Jolokia) 2. Use admin console 3. Use any client (including REST) to browse 4. Use

How to access KahaDB db.data in activeMQ-5.15.0 ?

2020-05-19 Thread skao
Hi All, I would like to view the KahaDB db.data to check the detail of enqueue message body. But it is binary file format. Is there any tool to open the KahaDB db.data file or how to convert it to txt file ? Please kindly help. Sincerely, Samuel -- Sent from: http://activemq.2283324.n4.nabb

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

2020-05-19 Thread 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