Many thanks Gordon. I'll give that a go over the weekend.


Gordon Sim wrote:
> 
> 
> You can create a receiver/message consumer with address 
> qmf.default.topic/agent.ind.event.org_apache_qpid_broker.#
> 
> The messages you receive on that will be amqp-list formatted messages 
> (from JMS you would need to decode these as per my previous example as 
> the library won't yet do it for you). Each entry will be an event 
> represented as a map.
> 
> event["_schema_d"]["_class_name"] will contain the class of the event. 
> In your case you are interested in clientConnect and clientDisconnect 
> (events are defined in qpid/specs/management.xml).
> 
> Let me know if you have trouble with this and I'll try to knock up a JMS 
> example.
> 
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
> 


--
View this message in context: 
http://apache-qpid-users.2158936.n2.nabble.com/Is-it-possible-to-write-a-client-that-gets-notified-of-connections-disconnections-to-broker-tp6487251p6487409.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to