Red Hat Bugzilla – Bug 1021281
Not transacted connection factory allows to create and operate with transacted sessions
Last modified: 2015-01-04 17:55:59 EST
Description of problem:
A non transacted connection factory allows of creating and using a transacted session on its connection without any exception or warning, in EAP 6.
It is not clear from the documentation whether this is a legal configuration or not, and if yes, which kind of transaction is applied, local tx or xa tx.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a non transacted connection factory
2. Create connection
3. Create a transacted session, producer of the session and a message
4. Send a message and commit it.
A transacted session is successfully created allowing to send messages over it and commit.
If this is a legal usage, then it should be clear which transation type is used.
If this is not a legal usage, a warning or exception shall appear, or at least it should be addressed in the documentation.