You could write a broker plugin that drops the message (ignores it).

Or you if on 5.9, could use the new broker: plugin to do that with Camel:
http://rajdavies.blogspot.com/2013/09/apache-camel-broker-component-for.html

Or use the timestamp plugin
http://activemq.apache.org/timestampplugin.htmlto help set a TTL that
auto-expires the message, and then ignore the
message in DLQ once it's expired with the discarding DLQ plugin:
http://activemq.apache.org/message-redelivery-and-dlq-handling.html

HTH



On Thu, Oct 24, 2013 at 4:32 PM, Nate Faerber <[email protected]>wrote:

> Is it possible to configure a queue to simply drop incoming messages
> without serving to a consumer.  I have an app that is both producing and
> consuming on the queue but I need to disable the consuming without touching
> code in the app.
>
> thanks,
>
> --
> Nate Faerber
> Senior Systems Engineer, Operations
> ItsOn, Inc.
> desk: 650.517.2785
> mobile: 415.794.2731
> {us/pacific}
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to