hi,

    I got confused with the term of 'capacity' of the sender and receiver.
    In my app, I create a queue and a sender and a receiver bound with it.
    I also set both the capacity of the sender and receiver as 100.
    Through qpid-tool, I find that, every time the receiver receives
one message from the queue, a field named 'acquires' of the queue is
increased by one.
    When the 'acquires' number reaches the 100, my app cannot get
message from the queue any more.
    So, what does the term 'capacity' and the field 'acquires' mean?
    I noticed that, in qpid-tool, another field 'release' which is
actually above 'acquires' is always 0, is it right?

    As for my code, I use c++ client and qpid::messaging api. I send
the message using sender.send(msg, true), and fetch message with
fetch(msg, Duration::IMMEDIATE), and acknowledge by call
session.acknowledge();
    Do I miss any thing?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to