Lorenz Quack created QPID-7646:
----------------------------------
Summary: [Java Broker] fix
AbstractAMQPSession#getLocalTransactionOpen to support values > 1
Key: QPID-7646
URL: https://issues.apache.org/jira/browse/QPID-7646
Project: Qpid
Issue Type: Bug
Components: Java Broker
Reporter: Lorenz Quack
Fix For: qpid-java-7.0
During the review of QPID-7633 it was noted:
bq. Why do we only return 0 or 1 from
AbstractAMQPSession#getLocalTransactionOpen. That seems wrong.
which was followed up by Rob:
bq. On getLocalTransactionOpen, I agree that looks very dodgy. In AMQP 0-x the
value will only be 0 or 1, but I'm not sure the implementation the we have now
is safe. I think the implementations will need to define this properly (i.e.
the calculation will need to be atomic, and the value may be > 1 for AMQP 1.0 )
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]