camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devgosain <devgosai...@gmail.com>
Subject Routing the message to dynamic queue
Date Thu, 16 Aug 2012 19:31:47 GMT
Hi friends,
             I am a new camel user, I want to write a camel configuration
(version 2.0) to achieve the following

             (1) Receive an xml message from a queue (say "firstqueue")
             (2)Redirect the xml message to a new queue which will be
created dynamically on the basis
                 of the xml header value. 
                 Example :  xml message has a header "RedirectDestination"
with value  
                 "secondqueue", so a new queue named "secondqueue" should be
created and the xml message
                 should be redirected to this new dynamic queue. 


firstqueue-->listen-->getmessage-->readValueOfHeader-->redirectXmlToNewQueue

Thanks



--
View this message in context: http://camel.465427.n5.nabble.com/Routing-the-message-to-dynamic-queue-tp5717563.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message