[
https://issues.apache.org/jira/browse/CAMEL-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481323#comment-15481323
]
ASF GitHub Bot commented on CAMEL-10296:
----------------------------------------
Github user gessnerfl closed the pull request at:
https://github.com/apache/camel/pull/1161
> Guaranteed Delivery not working if no timeout is set
> ----------------------------------------------------
>
> Key: CAMEL-10296
> URL: https://issues.apache.org/jira/browse/CAMEL-10296
> Project: Camel
> Issue Type: Bug
> Components: camel-rabbitmq
> Affects Versions: 2.18.0
> Reporter: Florian Gessner
> Assignee: Andrea Cosentino
> Labels: github-pullrequest, integration-test
> Fix For: 2.18.0
>
>
> When guaranteed delivery is activated but no timeout is set for publisher
> acknowledgement waitForConfirmsOrDie will never return.
> This is because the close is not triggered on the channel even if the
> connection is closed when an exception is thrown in the return listener.
> This is also the reason why the integration test for the producer does not
> complete.
> The provided pull request fixes this issue in that way that it will just
> remember that a basic.return has been received and will throw the exception
> after waitForReturnOrDie completes
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)