activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Giacomelli <>
Subject Reject queue message if no Consumer is available
Date Tue, 08 Oct 2013 17:35:43 GMT
I'm using ActiveMq in a request/response configuration.

I was wondering if it is possible to reject Producer message if no Consumer
is available.
I did search the forum, googled very much, but found nothing close to my

My implementation is about a RPC mechanism. So if the requestor (Producer)
does not have a response (from Consumer) it will hang until a timeout
I would like to remove the timeout and give a (semi) immediate exception to
the Producer.

Is it possible through a Broker Filter?  Or by any other means?

Please, tell me if I missed something useful from my explanation, I'll be
glad to add further information.

I'm using ActiveMq 5.8
Non persistent queue
I'm using it with Debian Linux and Ms Windows
Jdk 1.7_21
In embedded mode.

best regards
Simone Giacomelli

PS I was successfully able to create a customized authentication plugin.
And another plugin to reject Consumer if Destination have already one
I love ActiveMQ :)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message