qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flores, Paul A." <PAUL.A.FLO...@SAIC.COM>
Subject C++ API Next Receiver Questions
Date Thu, 14 Jul 2016 16:22:50 GMT
Hi,



At client.



Basic questions that I have answered but want to double check.



Can I get some verification/clarification.



How does pre-fetch influence these questions/answers?



Thanks for the feedback it is appreciated.



Paul



Premise:

Given:

    a Connection with a Session. (Connection to Session 1:1?)

    a Session with more than 1 Receiver. (Session to Receiver 1:N)

    Default configuration specifying pre-fetch

    Each Receiver has a queue. (Receiver to Queue 1:1)



Questions:

1) Does Next Receiver "cycle" through receivers?

    Given:

        Three Receivers: A,B and C

        Receivers A and C have message on their respective queues (Alpha and Charlie respectively)

After a fetch on Receiver A (messages remain on Alpha)

Will a call to Next Receiver return Receiver C?



2) Does Next Receiver always return the Receiver with messages on its queue?

    Given:

        Three Receivers: A,B and C

        Receiver B's queue (Bravo) has messages while the other Receiver queues are empty

After a fetch on Receiver B (messages remain on Bravo)

Will a call to Next Receiver return Receiver B?






________________________________

This communication (including any attachments) may contain information that is proprietary,
confidential or exempt from disclosure. If you are not the intended recipient, please note
that further dissemination, distribution, use or copying of this communication is strictly
prohibited. Anyone who received this message in error should notify the sender immediately
by telephone or by return email and delete it from his or her computer.

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