RE: Artemis management API: getting message counts

2022-11-09 Thread John Lilley
ent: Tuesday, November 8, 2022 9:43 PM To: users@activemq.apache.org Subject: Re: Artemis management API: getting message counts *** [Caution] This email is from an external source. Please use caution responding, opening attachments or clicking embedded links. *** Currently there's no way

Re: Artemis management API: getting message counts

2022-11-08 Thread Justin Bertram
Currently there's no way to differentiate between “queue does not exist” and other errors due to the way the broker handles the underlying exception when retrieving the attribute's value. However, you can use the createQueue method of ClientSession with some exception handling before you invoke the

RE: Artemis management API: getting message counts

2022-11-04 Thread John Lilley
I’ve also tried ensuring that a queue exists, by creating the queues we will use. However, it looks like the JMS call to Session.createQueue() doesn’t really create the queue. Are queues created lazily? Is there a way to force queue creation? Thanks john [rg]