activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Gies <>
Subject Re: How to run a pluggin for only a single queue?
Date Fri, 24 Apr 2009 14:16:35 GMT
Hmmm, I see.

There is the possibility to look whether a DestinationPolicy might  
help you,
but I think the easiest way to achieve what you want is with a broker  
and hook into the preProcessDispatch method.

There you can query the Destination and add the property only to the  
you want. If you have a setter method for the queuename(s) you you can  
keep that
part variable.

Hope that helps

On Apr 24, 2009, at 3:46 PM, DanielR wrote:

> My pluggin create a custom property (custom id) in any incomming  
> message.
> Now I need to do the same but only in one specific queue, so i need  
> to run
> the pluggin only when a message to that queue arrives.
> DanielR wrote:
>> any ideas ?
> -- 
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message