Hi Raphael,

Isn't this
http://qpid.2158936.n2.nabble.com/QPID-0-28-C-Client-Subscribtion-to-Queues-or-Topics-AMQP-1-0-td7614162.html
the same problem?

Regards
Jakub

On Fri, Oct 17, 2014 at 5:16 PM, Raphael Fuchs <[email protected]>
wrote:

> Hello,
>
> I am working on an AMQP client using Qpid V 0.28. The server uses ActiveMQ.
>
> When trying to create a receiver like this:
>     mSession.createReceiver("name_of_topic");
>
> I get the error message
>     not authorized to create: *queue*://name_of_topic
>
> To make sure the library tries to connect to the topic I tried the
> following
>
>     qpid::messaging::Address a(topic);
>     a.setType("topic");
>     log_info("address string: " + a.str());
>     return mSession.createReceiver(a);
>
> This prints the address string: name_of_topic;{node:{type:topic}}
>
> Still, the server responds:
>
> not authorized to create: *queue*://name_of_topic - name_of_topic
>
> Do you have an idea why this happens?
> In addition, is there a way to inspect the requests the library sends to
> the server?
>
> Thank you!
> Raphael
>

Reply via email to