Re: automatically restarting route (from + activemq)?

2015-03-23 Thread agentalpha
found the solution for this. Thanks, Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/automatically-restarting-route-from-activemq-tp509859p5764639.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Łukasz Budnik
Hi there, I'm not using connection factory explicitly. I'm using ActiveMQComponent which uses brokerURL property. I googled some more and found out a solution. Maybe it can help others: cheers, Łukasz On 17 June 2010 15:18, Adrian Trenaman wrote: > Need to see the connection string for the

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
Need to see the connection string for the activemq connection factory called 'remoteactivemq'! On 17/06/2010 13:10, Łukasz Budnik wrote: Sure thing: The route is very simple: remoteacrtivemq is a standalone ActiveMQ. thanks, Łukasz On 17 June 2010 13:49, Adrian Trenaman

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Łukasz Budnik
Sure thing: The route is very simple: remoteacrtivemq is a standalone ActiveMQ. thanks, Łukasz On 17 June 2010 13:49, Adrian Trenaman wrote: > can you send me your connection string? > > On 17/06/2010 12:40, Łukasz Budnik wrote: >> >> Thanks Ade for a hint, >> >> I googled

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
can you send me your connection string? On 17/06/2010 12:40, Łukasz Budnik wrote: Thanks Ade for a hint, I googled for reconnect string but found nothing. But I found something similar. When you use topics you can create a durable client. I did so: But after restarting ActiveMQ, my route didn'

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Łukasz Budnik
Thanks Ade for a hint, I googled for reconnect string but found nothing. But I found something similar. When you use topics you can create a durable client. I did so: But after restarting ActiveMQ, my route didn't start consuming messages from my topic. On the ActiveMQ admin console http://localh

Re: automatically restarting route (from + activemq)?

2010-06-17 Thread Adrian Trenaman
You need to set your reconnection settings on the ActiveMQ connection string! AFAIR, Camel doesn't reconnect by default. Cheers, Ade. On 17/06/2010 09:51, Łukasz Budnik wrote: Hi all, I'm new to Camel and I'm evaluating it. I have a simple scenario: I want to consume messages from a remote A

automatically restarting route (from + activemq)?

2010-06-17 Thread Łukasz Budnik
Hi all, I'm new to Camel and I'm evaluating it. I have a simple scenario: I want to consume messages from a remote Active MQ: Everything works fine until I kill Active MQ. Camel disconnects from ActiveMQ. When the ActiveMQ is started again, new messages are not being consume