qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Qpid C++ Client, nextReceiver, and subjects
Date Tue, 25 Apr 2017 18:51:28 GMT
On 25/04/17 18:54, mottese wrote:
> Hi,
>
> Right now I'm using Qpid 1.36.0 with AMQP1.0 enabled and I want to have
> multiple receivers all on the same topic:
>
> amq.topic/subject1
> amq.topic/subject2
> ...
> amq.topic/subjectn
>
> When looking at the source code, it looks like if I use nextReceiver(...),
> it only has the capability to return receivers based on "amq.topic" and not
> "subjectx". I guess my question is: will nextReceiver do what I'm expecting
> and return a receiver that has a message waiting, where that message is
> meant for that receiver's subject?

Yes.

> Another question, if I have the same setup (multiple subjects, all on the
> same topic) but with Senders instead of receivers, can I do
> session.getSender("amq.topic/subjectx") and expect to get the correct sender
> back?

Yes.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message