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 plugin
and hook into the preProcessDispatch method.

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

Hope that helps
Andreas


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: 
http://www.nabble.com/How-to-run-a-pluggin-for-only-a-single-queue--tp23200519p23216784.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Reply via email to