You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/06/23 17:44:35 UTC
[jira] Created: (CAMEL-1750) ScheduledPollConsumer - Allow
pluggable exception strategies for what to do when exception occur during
poll
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, 2.1.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.
[jira] Resolved: (CAMEL-1750) ScheduledPollConsumer - Allow
pluggable exception strategies for what to do when exception occur during
poll
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-1750.
--------------------------------
Resolution: Fixed
trunk: 789216.
Updated wiki
http://camel.apache.org/polling-consumer.html
> 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.
[jira] Commented: (CAMEL-1750) ScheduledPollConsumer - Allow
pluggable exception strategies for what to do when exception occur during
poll
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-1750) ScheduledPollConsumer - Allow
pluggable exception strategies for what to do when exception occur during
poll
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-1750:
-------------------------------
Fix Version/s: (was: 2.1.0)
> 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.