Thanks for the quick answer! -----Original Message----- From: Gordon Sim <[email protected]> Sent: vendredi 30 novembre 2018 14:19 To: [email protected] Subject: Re: [Dispatch Router] Get statistics through AMQP management
On 30/11/18 13:02, VERMEULEN Olivier wrote: > Hello, > > I wanted to know if it's possible to get the dispatch-router statistics > (especially the connected clients and the memory statistics) through an AMQP > call to $management? Yes. Send a message with an application property 'operation' set to 'QUERY', and another 'type' set to 'org.apache.qpid.dispatch.connection', with the body being a map with one entry 'attributes' whose value is an empty array (or a list of the attributes you want to retrieve). You also need a correlation id and reply-to set in order to get back your response. The type can be 'org.apache.qpid.dispatch.allocator' for memeory related stats. The qdmanage tool is a useful way to see the full schema. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ******************************* This e-mail contains information for the intended recipient only. It may contain proprietary material or confidential information. If you are not the intended recipient you are not authorized to distribute, copy or use this e-mail or any attachment to it. Murex cannot guarantee that it is virus free and accepts no responsibility for any loss or damage arising from its use. If you have received this e-mail in error please notify immediately the sender and delete the original email received, any attachments and all copies from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
