Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.8.0, 5.9.0, 5.9.1, 5.10.0
-
None
-
64bit win7+64bit jdk1.7.0_72
Description
org.apache.activemq.ActiveMQConnection ==>
in method "public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException"
in statement [return new EMQSession ... ]
code [acknowledgeMode == Session.SESSION_TRANSACTED] is dead.
because this condition has been decided in method entrance.
Futhermore when using tranaction,the acknowledge mode must be 0.
This is right or not?