[
https://issues.apache.org/activemq/browse/CAMEL-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56803#action_56803
]
Claus Ibsen commented on CAMEL-2339:
------------------------------------
There {{DefaultPollingConsumerPollStrategy}} will log at WARN with the ERROR in
the {{rollback}} method.
{code}
public boolean rollback(Consumer consumer, Endpoint endpoint, int
retryCounter, Exception e) throws Exception {
log.warn("Consumer " + consumer + " could not poll endpoint: " +
endpoint.getEndpointUri() + " caused by: " + e.getMessage(), e);
// we do not want to retry
return false;
}
{code}
So you should be able to see this WARN log somewhere
> ScheduledPollConsumer.run swallows Errors
> -----------------------------------------
>
> Key: CAMEL-2339
> URL: https://issues.apache.org/activemq/browse/CAMEL-2339
> Project: Apache Camel
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Jörn Kottmann
>
> We have a camel route which uses the mail component
> and polls from an IMAP mail server.
> Through a deployment mistake the javax.activation.DataSource
> class was not available and resulted in an
> java.lang.NoClassDefFoundError Error which was swallowed
> and not logged.
> This resulted in a silent failure of the mail component.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.