qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphael Fuchs <raphael.fuc...@gmail.com>
Subject Re: Create receiver for topic
Date Mon, 20 Oct 2014 08:27:17 GMT
Hi Jakub,

thanks a lot! It works now :)

Cheers
Raphael


2014-10-17 20:46 GMT+02:00 Jakub Scholz <jakub@scholz.cz>:

> 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 <raphael.fuchs1@gmail.com>
> 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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message