activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kpalania <kpala...@yahoo.com>
Subject Re: Registering Dynamic Listeners
Date Thu, 18 Sep 2008 20:00:41 GMT


James.Strachan wrote:
> 
> 
> This sounds like something Camel could do BTW; we could dynamically
> add new routes based on new Destinations being created?
> 
> Another option is that there's actually a statically created consumer;
> but that consumer uses wildcards?
> 
> e.g.
> 
> from("activemq:Generated.*").bean(Cheese.class).receipientList().header("foo");
> 
> then you send to some queue called Generated.XYZ. The final result is
> sent to the value of the 'foo' header?
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 


Wild cards - yes. That's exactly what I want to do & verified that it works.
Thanks James!
-- 
View this message in context: http://www.nabble.com/Registering-Dynamic-Listeners-tp19556579p19560544.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message