camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-1744) ScheduledPollConsumer - Should not throw polled exception on stop
Date Tue, 23 Jun 2009 15:52:35 GMT

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

Claus Ibsen resolved CAMEL-1744.
--------------------------------

    Resolution: Fixed

trunk: 787735.

> ScheduledPollConsumer - Should not throw polled exception on stop
> -----------------------------------------------------------------
>
>                 Key: CAMEL-1744
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1744
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> See CAMEL-501
> And nabble:
> http://www.nabble.com/Bug-in-ScheduledPollingConsumer--td24151070s22882.html
> If an exception occured during a poll Camel will handle it by a ExceptionHandler you
can set on the DefaultConsumer. The default impl will log it at WARN level.
> But the ScheduledPollingConsumer will remember this and when it does a doStop in case
of shutdown or the likes it will throw the first exception occurred during a poll.
> This will indicate in an ERROR when doing a shtudown and its not really related as the
poll error could have happened like 3 months ago.
> We should not do this. But only handle the poll exception when it occurred. End users
can configure their own ExceptionHandler if they want to do something differently than logging.

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