Hi,

We are trying PROTON libraries and we found that with PROTON-C, we can create 
temporary queues using "amqp://host/#" style URL. Then we can use " 
pn_subscription_address()" API to learn the temporary queue 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, we can't find a similar thing in PROTON-J library since the 
"subscribe()" method in PROTON-J returns nothing. Does the PROTON-J has another 
equivalent approach?

Best regards,
Yanfeng



Reply via email to