camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-501) ScheduledPollConsumer swallows exceptions
Date Thu, 18 Sep 2008 22:50:52 GMT

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

Jonathan Anstey reassigned CAMEL-501:
-------------------------------------

    Assignee: Jonathan Anstey

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


Mime
View raw message