camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <>
Subject Re: Check that file component is still polling
Date Mon, 11 Feb 2013 18:59:30 GMT
Hi Bengt

On file endpoint you can enable sendEmptyMessageWhenIdle option that sends
an empty message if no files are available. This should also be possible on
ftp/sftp endpoints, and could trigger your route to send a heartbeat even in
the absence of a file exchange.

An other way to achieve monitoring is to let your Camel context/routes be
able to tell it's health state, so that each camel integration component
exposes a rest interface with health state info. 
We are deploying in a war file so it's easy to expose a rest interface, and
for whatever monitoring solution to call http get and take action depending
on the healthstate.

If you are running your routes as bundles in karaf, you could possible
expose the same healthstate info as MBeans, and then let Nagios query via



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message