You can just have a Camel route that is from -> to and use the vm transport of the broker if using the embedded broker in the same jvm. Then you can start|stop the route using JMX or using the shell with the camel:start-route | stop-route commands. Or use the web ui to do that as well.
You can also use jms transactions though that often makes more sense to use if its a remote broker or you do more work with the message. On Thu, Nov 28, 2013 at 8:36 PM, Michiel Borkent <michielbork...@gmail.com> wrote: > Say I have two queues (implementation ActiveMQ) A and B. I want to be able to > invoke a method via an MBean that transfers all messages from A to B > transactionally. What is the most common way to implement this in Camel / > Fuse ESB? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Delivering-messages-from-one-activemq-to-another-transactionally-triggered-by-mbean-tp5744049.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen