About Question enthuware.oce-ejbd.v6.2.417 :
Posted: Wed May 04, 2011 4:22 am
What is meant by the question as "default acknowledgement mode"?
Java Certification Resources and Java Discussion Forum
https://enthuware.com/forum/
I tried both cases in GlassFish 3.1 (setting both true and false to the transacted parameter), and it seems to confirm that the transacted flag is ignored. Whether or not the message is sent successfully depends on the outcome of the bean transaction and has nothing to do with the transacted flag. Any clarifications you can provide is much appreciated!Because the container manages the transactional enlistment of JMS sessions on behalf of a bean, the parameters of the createSession(boolean transacted, int acknowledgeMode), createQueueSession(boolean transacted, int acknowledgeMode) and createTopicSession(boolean transacted, int acknowledgeMode) methods are ignored. It is recommended that the Bean Provider specify that a session is transacted, but provide 0 for the value of the acknowledgment mode.