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