qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-439) Support for dynamic reply-to address in Messenger
Date Mon, 02 Dec 2013 14:25:35 GMT

    [ 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)

Mime
View raw message