You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "yanfeng liu (JIRA)" <ji...@apache.org> on 2015/07/08 02:04:05 UTC

[jira] [Created] (PROTON-938) Have APIs to know address of temporary queue created by Proton-J program

yanfeng liu created PROTON-938:
----------------------------------

             Summary: Have APIs to know address of temporary queue created by Proton-J program
                 Key: PROTON-938
                 URL: https://issues.apache.org/jira/browse/PROTON-938
             Project: Qpid Proton
          Issue Type: Wish
          Components: proton-j
    Affects Versions: 0.9.1
         Environment: Ubuntu Linux
            Reporter: yanfeng liu


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:

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

However, in Proton-J, the Subscribe() method is defined as void.

Regards,
yf







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