Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread Jean-Baptiste Onofré
Hi, Just use JMX on the destination, you have lot of details (QueueSize, cursor, memory, etc). You can use Decanter to collect the JMX metrics. Regards JB On 19/06/2019 19:18, cooshal wrote: > Hi: > > thank you for the clarification. > > Is there a way to retrieve the queue stats? I wanted to

Re: Artemis Disaster Recovery options

2019-06-19 Thread warm-sun
I have a very similar scenario to the original post. (Multi data center replication is required) I have read all the documentation -- but am unclear about a couple of points: 1) RedHat AMQ 7 (which is using Artemis under the hood) in their "configuring broker" documentation recommend NOT using [HA

Re: Artemis warning AMQ224091 Bridge is unable to connect to destination

2019-06-19 Thread progMetal
Yes. thanks. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread Timothy Bish
On 6/19/19 1:18 PM, cooshal wrote: Hi: thank you for the clarification. Is there a way to retrieve the queue stats? I wanted to retrieve the number of messages, pending messages, etc. similar to those shown in activemq console. The only really reliable means would be to use JMX and ask the MB

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread cooshal
Hi: thank you for the clarification. Is there a way to retrieve the queue stats? I wanted to retrieve the number of messages, pending messages, etc. similar to those shown in activemq console. Regards, Cooshal. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis warning AMQ224091 Bridge is unable to connect to destination

2019-06-19 Thread Justin Bertram
Core bridges can only "push" (i.e. send) messages from the source to the target. A core bridge cannot "pull" (i.e. receive) messages. You can configure a core bridge on each broker to push messages to the other. Does that answer your question? Justin On Wed, Jun 19, 2019 at 12:02 PM progMetal

Re: Artemis warning AMQ224091 Bridge is unable to connect to destination

2019-06-19 Thread progMetal
Thanks Justin. The problem i am trying to troubleshoot is connecting 2 remote Artemis server together for bi-directional file transfer. My simple question is this: Can Artemis be configured for a "core bridge" on each server, to know about the other, to send and receive files at each end? The d

Re: JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread Timothy Bish
On 6/19/19 12:13 PM, cooshal wrote: Hi: I am using ActiveMQ version 5.15.8 I have the following code fragment, which is basically there to count the number of messages in a particular queue (here, it is tst.errors) brokerConnection = connectionFactory.createConnection(); session = this.createS

JMS QueueBrowser does not return actual number of messages in the queue

2019-06-19 Thread cooshal
Hi: I am using ActiveMQ version 5.15.8 I have the following code fragment, which is basically there to count the number of messages in a particular queue (here, it is tst.errors) brokerConnection = connectionFactory.createConnection(); session = this.createSession(brokerConnection); brokerConnec