Return-Path: X-Original-To: apmail-qpid-proton-archive@minotaur.apache.org Delivered-To: apmail-qpid-proton-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF44010408 for ; Mon, 2 Dec 2013 14:25:36 +0000 (UTC) Received: (qmail 79785 invoked by uid 500); 2 Dec 2013 14:25:36 -0000 Delivered-To: apmail-qpid-proton-archive@qpid.apache.org Received: (qmail 79754 invoked by uid 500); 2 Dec 2013 14:25:36 -0000 Mailing-List: contact proton-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: proton@qpid.apache.org Delivered-To: mailing list proton@qpid.apache.org Received: (qmail 79737 invoked by uid 99); 2 Dec 2013 14:25:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 14:25:36 +0000 Date: Mon, 2 Dec 2013 14:25:35 +0000 (UTC) From: "Rafael H. Schloming (JIRA)" To: proton@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PROTON-439) Support for dynamic reply-to address in Messenger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PROTON-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836544#comment-13836544 ] Rafael H. Schloming commented on PROTON-439: -------------------------------------------- I've submitted some initial support for this. The details may change, but basically if you subscribe to "hostname/#", messenger will set the source to dynamic. You can access the remote address by querying the subscription object returned from the subscribe method. In C this can be done by using pn_subscription_address(), and in python you can simply use the address attribute of the subscription object. In both cases the query will block until the dynamically created address is available, unless of course the messenger is configured to be non blocking. Messenger itself doesn't support dynamically created addresses on the incoming side, so I can't test this directly, however I've successfully tested against the C++ broker. > Support for dynamic reply-to address in Messenger > ------------------------------------------------- > > Key: PROTON-439 > URL: https://issues.apache.org/jira/browse/PROTON-439 > Project: Qpid Proton > Issue Type: New Feature > Components: proton-c > Affects Versions: 0.5 > Reporter: Ted Ross > Assignee: Rafael H. Schloming > Fix For: 0.6 > > > Messenger has no support for creating dynamic receivers for reply-to addresses. Please refer to the following email thread for prior discussion on the topic. > http://qpid.2158936.n2.nabble.com/Proton-Messenger-and-the-Request-Response-pattern-tp7586653.html -- This message was sent by Atlassian JIRA (v6.1#6144)