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 2008/10/23 06:42:52 UTC

[jira] Closed: (CAMEL-501) ScheduledPollConsumer swallows exceptions

     [ https://issues.apache.org/activemq/browse/CAMEL-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen closed CAMEL-501.
-----------------------------


> ScheduledPollConsumer swallows exceptions
> -----------------------------------------
>
>                 Key: CAMEL-501
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-501
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> ScheduledPollConsumer.run() swallows any exception thrown from a polling consumer.
> {code}
>     /**
>      * Invoked whenever we should be polled
>      */
>     public void run() {
>         LOG.debug("Starting to poll");
>         try {
>             poll();
>         } catch (Exception e) {
>             LOG.warn("Caught: " + e, e);
>         }
>     }
> {code}
> See this forum
> http://www.nabble.com/Re%3A-svn-commit%3A-r654414---in--activemq-camel-trunk-components-camel-mail-src%3A-main-java-org-apache-camel-component-mail--test-java-org-apache-camel-component-mail--td17121927s22882.html#a17122075

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.