If you mean a JMS queue you will have a problem doing that because with JMS queues, messages only get picked up by a single consumer so if that consumer filters the message, it is dropped into the ether of nothingness. So that is why it is better routed before the queue. Look at recipient list EIP pattern. Declare custom queues for each of the destinations and route to them using a recipient list that keys off of what is in the message.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39* On Mon, Sep 30, 2013 at 11:58 AM, prabumc...@gmail.com <prabumc...@gmail.com > wrote: > Please help how can i do this using filter > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Routing-using-map-message-help-required-tp5740305p5740581.html > Sent from the Camel - Users mailing list archive at Nabble.com. >