Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1FACB200B5C for ; Thu, 11 Aug 2016 21:01:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E336160A93; Thu, 11 Aug 2016 19:01:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 65654160A90 for ; Thu, 11 Aug 2016 21:01:21 +0200 (CEST) Received: (qmail 79189 invoked by uid 500); 11 Aug 2016 19:01:20 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 79178 invoked by uid 99); 11 Aug 2016 19:01:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 19:01:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B6592C02A3 for ; Thu, 11 Aug 2016 19:01:20 +0000 (UTC) Date: Thu, 11 Aug 2016 19:01:20 +0000 (UTC) From: "Florian Gessner (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10239) Extend Camel RabbitMQ with guaranteed delivery (basic.return) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 Aug 2016 19:01:22 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Gessner updated CAMEL-10239: ------------------------------------ Description: So far camel-rabbitmq supports publisher acknowledgements to ensure that a massage was delivered to the brokers. However this does not guarantee that the message is delivered to queue (https://www.rabbitmq.com/confirms.html - 'When will messages be confirmed?'). To implement guaranteed delivery publisher acknowledgements have to be activated together with a *return listener* and publishing messages as mandatory. In this case the basic.return will be returned to the publisher before the basic.nack or basic.ack. Only in this case we can be sure that the message is really delivered to the configured queue (or fails if no queue is available). As a solution I provided a pull request on github together with integration tests. https://github.com/apache/camel/pull/1116 Please let me know if I can provide further support/input. was: So far camel-rabbitmq supports publisher acknowledgements to ensure that a massage was delivered to the brokers. However this does not guarantee that the message is delivered to queue (https://www.rabbitmq.com/confirms.html - 'When will messages be confirmed?'). To implement guaranteed delivery publisher acknowledgements have to be activated together with a *return listener* and publishing messages as mandatory. In this case the basic.return will be returned to the publisher before the basic.nack or basic.ack. Only in this case we can be sure that the message is really delivered to the configured queue (or fails if no queue is available). As a solution I provided a pull request on github together with integration tests. > Extend Camel RabbitMQ with guaranteed delivery (basic.return) > ------------------------------------------------------------- > > Key: CAMEL-10239 > URL: https://issues.apache.org/jira/browse/CAMEL-10239 > Project: Camel > Issue Type: New Feature > Components: camel-rabbitmq > Affects Versions: 2.17.2 > Reporter: Florian Gessner > Labels: camel, github-pullrequest, newbie, patch, rabbitmq > > So far camel-rabbitmq supports publisher acknowledgements to ensure that a massage was delivered to the brokers. However this does not guarantee that the message is delivered to queue (https://www.rabbitmq.com/confirms.html - 'When will messages be confirmed?'). > To implement guaranteed delivery publisher acknowledgements have to be activated together with a *return listener* and publishing messages as mandatory. > In this case the basic.return will be returned to the publisher before the basic.nack or basic.ack. Only in this case we can be sure that the message is really delivered to the configured queue (or fails if no queue is available). > As a solution I provided a pull request on github together with integration tests. > https://github.com/apache/camel/pull/1116 > Please let me know if I can provide further support/input. -- This message was sent by Atlassian JIRA (v6.3.4#6332)