You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by eugene <eu...@gmail.com> on 2012/05/28 10:53:26 UTC
delete/create queue listener JMS
Hello,
Is there a possibility to register a listener that would listen for queue
delete/create events on the MRG side?
I am mostly interested in delete queue for now. Suppose someone removes a
queue (an Admin for example), I want from my app to be notified about it. Is
it possible?
Thank You,
Eugene.
--
View this message in context: http://apache-qpid-developers.2158895.n2.nabble.com/delete-create-queue-listener-JMS-tp7578648.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
Re: delete/create queue listener JMS
Posted by eugene <eu...@gmail.com>.
cool! thx Gordon
--
View this message in context: http://apache-qpid-developers.2158895.n2.nabble.com/delete-create-queue-listener-JMS-tp7578648p7580157.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
Re: delete/create queue listener JMS
Posted by Gordon Sim <gs...@redhat.com>.
On 05/28/2012 09:53 AM, eugene wrote:
> Hello,
>
> Is there a possibility to register a listener that would listen for queue
> delete/create events on the MRG side?
>
> I am mostly interested in delete queue for now. Suppose someone removes a
> queue (an Admin for example), I want from my app to be notified about it. Is
> it possible?
Yes. You can create a MessageConsumer that will receive event messages.
The tricky part at present is that you need to decode these (a patch has
been submitted for review that would make this easier[1]).
See
http://qpid.2158936.n2.nabble.com/Is-it-possible-to-write-a-client-that-gets-notified-of-connections-disconnections-to-broker-td6487251.html#a6487409
for some more detail, including an example built by another Qpid user,
Fraser Adams, who is probably now our leading JMS+QMF expert[2].
[1] https://issues.apache.org/jira/browse/QPID-3906
[2]
http://apache-qpid-users.2158936.n2.nabble.com/file/n6517128/ConnectionAudit.java
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org