Good evening, all.
I have an application that uses qpid::Session::nextReceiver() to handle
data from 3 or 4 different AMQP 0-10 message queues - it follows the
pattern from
https://qpid.apache.org/releases/qpid-cpp-1.39.0/messaging-api/book/ch01s08.html.
Question: If multiple receivers are ready when nextReceiver() is called,
which one should I expect to be returned? Is there a well-defined order
or priority? What if new messages keep appearing, so a given call will
never, or rarely, see just one ready receiver?
I think my application sometimes, due to a performance issue that's yet
to be resolved, gets into that situation, i.e. more than one receiver is
ready, and at least one more gets ready before the subsequent
nextReceiver() call. That means the system is not able to handle all
incoming messages, but it may look like this mostly affects only one
receiver - it's as if nextReceiver() almost never gets to it because
data keeps appearing on the others, or something. The queue associated
with the receiver happens to get new data at a slightly lower rate than
some of the others, and its message are also *much* larger. Does that
make any sense at all?
Thanks.
- Toralf
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]