No the jms component takes one message at a time.

You need to stop it manually or let it keep running even if the queue is empty,
or figure out if the queue is empty and then stop the route.


On Thu, Nov 28, 2013 at 10:19 PM, Michiel Borkent
<[email protected]> wrote:
> Hello Claus,
>
> Thanks for your answer. This sounds simpler than I thought.
>
> Just to be sure, is it safe to assume that
>
> Given: there is a route A -> B that is not auto started and has the
> ShutdownStrategy ShutdownRunningTask.CompleteAllTasks
>
> When there are X messages at queue A
> and the route is turned on and immediately turned off again (for example by
> JMX but this is a detail that shouldn't matter much)
>
> normally all X messages will be delivered to queue B?
>
> Kind regards,
>
> Michiel
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Delivering-messages-from-one-activemq-to-another-transactionally-triggered-by-mbean-tp5744049p5744054.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to