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

Andrea Cosentino updated CAMEL-20092:
-------------------------------------
    Fix Version/s: 3.22.0
                       (was: 3.x)

> camel-core - ScheduledPollConsumer should reset error count when greedy
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-20092
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20092
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.21.2
>            Reporter: Simon Rasmussen
>            Assignee: Simon Rasmussen
>            Priority: Major
>             Fix For: 3.20.9, 3.21.3, 3.22.0, 4.0.3, 4.2.0
>
>
> We have had the following scenario happen to us on a SQS consumer with 
> greedy=true:
> poll 1: fails with exception, causing error count to increase to 1 (due to 
> sqs problem)
> poll 2: successfully poll, and since greedy, continues with the next poll. 
> This continued for 1 hour as the queue it polled from had many messages
> Since the error count wasn't updated, then our readiness check remained DOWN 
> for a full hour even though the application actually processed messages of 
> the queue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to