Hello,

I have a few questions related to asynchronous messaging and acknowledgements.

I'm using the Qpid JMS client with a C++ broker (v0.24).

The behavior I'm observing is that the map of unacknowledged commands within 
the org.apache.qpid.transport.Session objects is growing until either the 
command limit or the byte limit is reached.

At that point, the session is flushed and the map is cleared.

My test has a producer and a consumer.

Each are on separate sessions (non-transactional and auto_acknowledge) on the 
same connection to the broker.

The producer is producing byte messages to a topic exchange.

The consumer is consuming these messages through a message listener.

The queue has a ring policy on it as well.

I've confirmed that the consumer is sending acknowledgments to the broker once 
messages are received and processed (based on Qpid debug logging).

My question is would you expect the producer to receive acknowledgements from 
the broker for messages sent asynchronously?

Is the map cleared only when the limits are reached if messages are sent 
asynchronously?

Producer flow control is disabled as well.

Thanks,
Brian P. Smith

Reply via email to