camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chris.pond" <chris.p...@bt.com>
Subject Dynamic uri in <to> uri, derived from <from> uri
Date Thu, 22 Oct 2009 21:30:11 GMT

I'm trying to take JMS messages inside the ActiveMQ broker from a topic
pattern, say "messages.*", and map them to a corresponding JMS queue, say
"queue.${from.topic}" (where ${from.topic} is the topic of the JMS message).
I can't seem to find an easy way to do this. Am I missing something?
I'm looking for something like this:

<route>
  <from uri="messages.*"/>
  <to uri="queue.${from.topic}"/>
</route>

Thanks for any and all help!
-- 
View this message in context: http://www.nabble.com/Dynamic-uri-in-%3Cto%3E-uri%2C-derived-from-%3Cfrom%3E-uri-tp26017552p26017552.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message