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

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

2020-05-20 Thread Jean-Baptiste Onofre
Hi, Basically you can do bin/activemq browse FOO Where FOO is the destination name. Regards JB > Le 20 mai 2020 à 18:16, skao a écrit : > > Hi JB, > > I never used bin/activemq browse before but I could Google it a little bit. > > Thanks a lot. > > Regards, > Samuel > > > > -- > Sent

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 Gary Tully
there is: https://github.com/apache/activemq-cli-tools/tree/master/activemq-kahadb-exporter On Wed, 20 May 2020 at 10:16, Jean-Baptiste Onofre wrote: > > Hi, > > You can: > > 1. Use JMX to browse the queue (directly or via REST thanks to Jolokia) > 2. Use admin console > 3. Use any client

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

2020-05-20 Thread Jean-Baptiste Onofre
Hi, It’s not really steps, it’s more "alternative". For instance, you can use bin/activemq browse. Regards JB > Le 20 mai 2020 à 16:36, skao a écrit : > > 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

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

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

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

2020-05-20 Thread Jean-Baptiste Onofre
OK, so, regarding your use case, I don’t think it’s a good idea or require to use the exporter. Just use browse or the web console (http://host:8161/admin by default). You can see all details about messages per destination, if they are persistent or not (so in kahadb

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

2020-05-20 Thread Jean-Baptiste Onofre
ActiveMQ browse doesn’t take kahadb location as argument but directly the destination: ./bin/activemq browse FOO If you want to extract/dump kahadb, use the kahadb exporter: ./bin/export kahadb --source /some/directory/kahadb/ --target ~/some/directory/output.xml What’s your use case exactly

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

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
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

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

2020-05-20 Thread Jean-Baptiste Onofre
Hi, You should understand better how ActiveMQ and JMS works. Once a consumer consumed a message, the message is not in KahaDB anymore. Regards JB > Le 21 mai 2020 à 07:17, skao a écrit : > > Hi JB, > > I would like to see all messages in activeMQ even though they have been > de-queued by

Re: Artemis: Reconfiguring a divert

2020-05-20 Thread Domenico Francesco Bruscino
Hi, I raised a JIRA to address the atomic update of diverts: https://issues.apache.org/jira/browse/ARTEMIS-2770 I'm working on it. Fell free to add further comments. Regards, Domenico Il giorno mar 12 mag 2020 alle ore 06:29 Bummer ha scritto: > But now I tried it and in the meantime, when

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

2020-05-20 Thread Francois Papon
Hi, You can use the Webconsole to show the messages. regards, François fpa...@apache.org Le 20/05/2020 à 07:39, skao a écrit : > 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

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

2020-05-20 Thread Jean-Baptiste Onofre
Hi, You can: 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 jms:* command in Karaf 5. Dump kahadb or browse content using bin/activemq (browse, …) script Generally speaking, we never manipulate