[ https://issues.apache.org/activemq/browse/CAMEL-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52521#action_52521 ]
Claus Ibsen commented on CAMEL-1750: ------------------------------------ trunk: 789087. I need to add some wiki documentation about this. Added interface: {{PollingConsumerPollStrategy}} allows you to plugin your custom class doing what you like to do. > ScheduledPollConsumer - Allow pluggable exception strategies for what to do > when exception occur during poll > ------------------------------------------------------------------------------------------------------------ > > Key: CAMEL-1750 > URL: https://issues.apache.org/activemq/browse/CAMEL-1750 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > The current scheduled poll consumer will log at WARN level any uncatched > exception occurred during a poll. > That could be a file system not accessing for the file consumer, eg when you > have mapped a network drive and Camel/Java cannot access it. > We should expose an API to allow end user to provide their own strategy what > to do. > Buy default we can have the WARN logger. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.