You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by carloc <ca...@yahoo.com> on 2009/01/22 06:53:09 UTC

File Consumer Stops Working

Hi everyone,

I'm using camel 1.4.0. We have it deployed in a production environment in
which it runs in a 24x7 scenario.
Problem is every now and then camel suddenly stops working and stops
consuming file. Now I am not sure if this is a problem of the file consumer
stopping, or if the camel context itself stopped working.

 From what I see it is a background thread that is launched. An outofmemory
occurrs when it stops working.
However the instance itself doesn't stop. I don't know if it is in anyway
related to the noop array list that is not cleared up properly. 

Is there a way to monitor camel scheduled consumers so that I can be
notified it stops for some reason?



I'm not sure what can cause it to stop working all of a sudden.
-- 
View this message in context: http://www.nabble.com/File-Consumer-Stops-Working-tp21598368s22882p21598368.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: File Consumer Stops Working

Posted by Claus Ibsen <cl...@gmail.com>.
On Thu, Jan 22, 2009 at 6:53 AM, carloc <ca...@yahoo.com> wrote:
>
> Hi everyone,
>
> I'm using camel 1.4.0. We have it deployed in a production environment in
> which it runs in a 24x7 scenario.
> Problem is every now and then camel suddenly stops working and stops
> consuming file. Now I am not sure if this is a problem of the file consumer
> stopping, or if the camel context itself stopped working.
>
>  From what I see it is a background thread that is launched. An outofmemory
> occurrs when it stops working.
> However the instance itself doesn't stop. I don't know if it is in anyway
> related to the noop array list that is not cleared up properly.
>
> Is there a way to monitor camel scheduled consumers so that I can be
> notified it stops for some reason?
>
>
>
> I'm not sure what can cause it to stop working all of a sudden.
The File component in Camel 1.4 or older has unfortunately a memory
issue if you consume many files.
There are unfortunately no workaround, besides than restarting Camel.

We have fixed this in the next release of Camel = 1.6 (named 1.5.1 in JIRA)
https://issues.apache.org/activemq/browse/CAMEL-1138


If you need a stable release with this bugfix you can try out the FUSE
releases of Apache Camel:
http://fusesource.com/

The maven repo is at:
http://repo.fusesource.com/maven2/

And its basically just to use a different version number.
1.4.0 => 1.5.3.0-fuse




We are in the transition of moving Apahce Camel as a top level project
at Apache so we cant release Apahce Camel 1.6 until this transition is
complete.


> --
> View this message in context: http://www.nabble.com/File-Consumer-Stops-Working-tp21598368s22882p21598368.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/