You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sushil_vsk5 <su...@yahoo.co.in> on 2014/11/11 10:51:43 UTC

Camel JMS consumer route start / stop issues

Hello All:

I have a Camel route listening to a JMS queue (HornetQ). If I suspend the
route, I see messages piling up in the queue and when I resume it, the
messages get processed and the route instances completely successfully

However, if I stop the route and start it again, I see that even though the
messages are getting drained off the queue, the route does not seem to get
invoked.

For example, from("jms://test").log("hello"). Here, I can no longer see the
log message though if I turn on debug logging, I can clearly see that the
route is indeed consuming the message but it is just not getting forwarded
to the processors correctly. 

Any thoughts or suggestions? I am using Camel JMS 2.12.5



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-consumer-route-start-stop-issues-tp5758893.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel JMS consumer route start / stop issues

Posted by Claus Ibsen <cl...@gmail.com>.
Try only use

suspend/resume

or

stop/start

and not mix and match them



On Thu, Nov 13, 2014 at 10:16 AM, sushil_vsk5 <su...@yahoo.co.in> wrote:
> Guys, any thoughts on this
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-consumer-route-start-stop-issues-tp5758893p5759030.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
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Re: Camel JMS consumer route start / stop issues

Posted by sushil_vsk5 <su...@yahoo.co.in>.
Guys, any thoughts on this



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-consumer-route-start-stop-issues-tp5758893p5759030.html
Sent from the Camel - Users mailing list archive at Nabble.com.