Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-938

[proton-J]Need ways to know temporary queue address created by Proton-J

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: proton-0.9.1
    • Fix Version/s: None
    • Component/s: proton-j
    • Environment:
      Ubuntu Linux
    • Flags:
      Important

      Description

      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:

      tempQueue.c
      // 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));
      

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

      Regards,
      yf

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yfliu yanfeng liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: