camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alex hutter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5730) SqsConsumer receive thread is tightly coupled to extendMessageVisiblity's scheduled task
Date Mon, 22 Oct 2012 13:14:11 GMT
alex hutter created CAMEL-5730:
----------------------------------

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


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

Mime
View raw message