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