Am 23.01.2012 17:09, schrieb Alexey:
Hi, is it possible for Camel and ActiveMQ forward a message from one queue to
another?
whether there are any ways to do this?
thank you
--
View this message in context:
http://camel.465427.n5.nabble.com/Forward-message-tp5166528p5166528.html
Sent from the Camel Development mailing list archive at Nabble.com.
Hi Alexey,
there are several ways to do this.
For example you can setup a route in camel:
from("jms://queue1").to("jms:queue2);
If you just want to move some messages by hand you can use the ActiveMQ
MBeans. Just point your jconsole at the activemq process.
The queue mbeans for example have a moveMessageTo(destination,
messageId) or a moveMatchingMessagesTo(destination, jmsSelector).
I am also currently working on jms commands for Apache Karaf that will
allow to do similar things from the karaf shell.
Christian
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com