I have a simple test using the Java client and Java Broker (qpid 0.6). I am
using a direct exchange with only one Queue.

I am also using the MemoryMessageStore with all of the QPID default Broker
settings intact.

This is also with a non-transacted session with AUTO_ACKNOWLEDGE

1) Producer sends message A
2) Consumer consumes message A (works fine)
3) Producer sends message B
4) Consumer consumes message A but was expecting B! (failure)

I check the JMS message 'A' and it has Redelivered=True in step 4) but not
step 2).

I have tried to use receive(), receive(200) and receiveNoWait() and I seem
to get the same result.

By the way, when should I use each "receive" method?

Sincerely,
Patrick Nails

Reply via email to