[
https://issues.apache.org/jira/browse/PROTON-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell closed PROTON-938.
---------------------------------
Resolution: Won't Fix
Closing, the Messenger API was deprecated in proton-j in the 0.16.0 release
(via PROTON-1361) and removed from proton-j in 0.17.0 (via PROTON-1362).
> [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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]