if you want these to be separate routes altogether, then you can also add
routes at runtime by periodically checking for new customer registrations
and calling context.addRoutes(<new MyRouteBuilder(params)>)

for more details, see
http://stackoverflow.com/questions/10451444/add-camel-route-at-runtime-in-java


ODarwish wrote
> How can I create dynamic route to  read messages from multiple sources 
> e.g. multiple  ActiveMQ  queues , the number of queues depends on customer
> registered in database each have own dedicated queue
> 
> As I know recipient list handle dynamic  (calculated ) multiple
> destination end point ,but what if I need to do the same for starting
> “From” point 
> My initial implementation for such requirement is  
> 
> route 1 From Direct 
> Call a processor which: 
> -list all sources queues 
> -create consumer template “From” for  each queue  and send it “To” seda
> end point 
> end  route1 
> 
> route2
> from seda 
> to..
> to..
> to ..
> end  route2





-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-route-multiple-From-point-tp5727387p5727437.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to