[ https://issues.apache.org/jira/browse/PROTON-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yanfeng liu updated PROTON-938: ------------------------------- Summary: [proton-J] How to know temporary queue address created by Proton-J (was: Have APIs to know address of temporary queue created by Proton-J program) > [proton-J] How 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 > > 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)