camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Delivering messages from one activemq to another transactionally triggered by mbean
Date Fri, 29 Nov 2013 06:51:47 GMT
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
<michielborkent@gmail.com> 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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message