Hi ,

We were looking into failing  system tests for AMQP 1.0 and discovered
that transacted Consumer#close() does not release any prefetched
messages immediately. It seems that transactions needs to be finished
(committed/rolled back). As result, if another consumer is created
before the transaction end, it will not see the acquired messages by
closed consumer. Because of this issue the test
org.apache.qpid.test.unit.transacted.CommitRollbackTest#testSend2ThenCloseAfter1andTryAgain
is failing, as it creates a second consumer and tries to consume the
message with this consumer before the transaction for the first closed
consumer is committed.

It is unclear whether it is a correct behavior or not. However, the
legacy JMS client for AMQP 0.x is passing the test. We have to exclude
the test from running on AMQP 1.0 profile.

Shall I raise a JIRA about this issue?

Kind Regards,
Alex

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

Reply via email to