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

Claus Ibsen reassigned CAMEL-5730:
----------------------------------

    Assignee: Claus Ibsen
    
> SqsConsumer receive thread is tightly coupled to extendMessageVisiblity's 
> scheduled task
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5730
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5730
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>    Affects Versions: 2.10.0
>            Reporter: alex hutter
>            Assignee: Claus Ibsen
>             Fix For: 2.10.3, 2.11.0
>
>         Attachments: fix-SQS-timeout-extender.patch
>
>
> When I made the patch file for CAMEL-5306 I made a mistake and coupled the 
> cancelling of the visibility extending scheduled task with the thread that 
> receives the message inside SqsConsumer.  This causes issues when try to 
> write Processors that delegate the completion of an exchange to another 
> thread.
> Actually the cancelling of the scheduled task should have been handled via 
> exchange.addOnCompletion(), the same way the the overall SQS transaction is 
> completed.
> The attached patch fixes this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to