Greetings, To get the message count of a queue using the Artemis management API, we are doing
ClientMessage request = clientSession.createMessage(false); ManagementHelper.putAttribute(request, ResourceNames.QUEUE + queueName, “MessageCount”); ClientMessage reply = client.request(request); if (ManagementHelper.hasOperationSucceeded(reply)) { … } This works, but fails if the queue doesn’t exist. How can I tell the difference between “queue does not exist” and other errors? Do I need to make a separate call to determine existence? Thanks John [rg] <https://www.redpointglobal.com/> John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint.