Hello, You may want to post your question on the Camel users list as this is a Camel related problem. The idea would be to use a dynamic recipient list [1] and not hard code the queue destination in your route.
Hope this helps. Regards, Torsten Mielke tmielke.blogspot.com [1] http://camel.apache.org/recipient-list.html On 14 Jan 2014, at 05:39 am, gadido30 <[email protected]> wrote: > Hi All, > > I have build chat client in activemq stom, I want to route two way, my chat > to ext xmpp server like jabber, > > I understand that I need to put: > > add the following to the <camelContext> in the activemq.xml > > <route> > <from uri="xmpp://myhost:port/myroom"> > <to uri="activemq:myQueue"/> > </route> > > but my room name is dynamic and it come from myQueue , how can I forward it > to myroom in xmpp? > > Best Regards > Gadi > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Camel-and-XMPP-server-tp4676263.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
