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
jmx. 

/Preben

    





--
View this message in context: 
http://camel.465427.n5.nabble.com/Check-that-file-component-is-still-polling-tp5727333p5727363.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to