Did your RabbitMQ server reboot?
Which version of Camel are you using?
We did some enhancement on the lasted version of Camel(2.13.2) to reconnect the 
rabbitMQ server if the connection is broken.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 17, 2014 at 5:02:20 PM, Milind (milindk...@gmail.com) wrote:
> Hi,
>  
> I have a camel application which reads messages from rabbit-MQ, zip them and
> write it to out file successfully. After executing 3-4 days, it appears that
> it does not pick up messages from rabbit MQ and messages starts queuing up
> on rabbit MQ. Finally, I need to re-start the application and then every
> thing gets working fine. During this phase, no abnormal behavior of CPU or
> Memory observed. I am not sure what the issue is. Can somebody please point
> me what could be the cause of such behavior.
>  
> I would appreciate any help in the matter. Thanks in advance.
>  
> Here is my configuration file.
>  
>  
> > class="org.apache.camel.dataformat.zipfile.ZipFileDataFormat" />
>  
> > xmlns="http://camel.apache.org/schema/spring";>
>  
> java.lang.Exception
> > logHandled="true" asyncDelayedRedelivery="true" />
>  
> true
>  
>  
>  
>  
>  
> > uri="rabbitmq:{{rabbitmq.exchangeName}}:{{rabbitmq.queueName}}?type={{rabbitmq.exchangeType}}&routingKey={{rabbitmq.routingKey}}&durable=true&autoDelete=false&preFetchCount={{rabbitmq.prefetchCount}}"/>
> >   
>  
> > uri="file:{{outfile.dir}}?noop=true&doneFileName=$simple{file:name:noext}.done"
> >   
> />
>  
>  
>  
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-router-stops-reading-messages-from-rabbitMQ-tp5756633.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.
>  

Reply via email to