You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/01/08 01:16:39 UTC

[jira] [Updated] (PROTON-938) [proton-J]Need ways to know temporary queue address created by Proton-J

     [ https://issues.apache.org/jira/browse/PROTON-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Ross updated PROTON-938:
-------------------------------
    Labels: documentation features messenger  (was: documentation features)

> [proton-J]Need ways to know temporary queue address created by Proton-J
> -----------------------------------------------------------------------
>
>                 Key: PROTON-938
>                 URL: https://issues.apache.org/jira/browse/PROTON-938
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.9.1
>         Environment: Ubuntu Linux
>            Reporter: yanfeng liu
>              Labels: documentation, features, messenger
>
> It seems that Proton-J lacks the method to retrieve the address of a temporary queue created by Proton-J client application. The corresponding method exists in Proton-C like:
> {code:title=tempQueue.c|borderStyle=solid}
> // Subscribe w/ temp queue, print out the temp queue's name
>   pn_subscription_t * sub = NULL;
>   if ((sub = pn_messenger_subscribe(messenger, "amqps://10.69.3.1/#")) == NULL) {
>       printf("!!!queue %s does not exists\n",address);
>   }
>   printf("a subscribed address:%s\n",pn_subscription_address(sub));
> {code}
> However, in Proton-J, the Subscribe() method is defined as void.
> Regards,
> yf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)