Bug 1021281

Summary: Not transacted connection factory allows to create and operate with transacted sessions
Product: Red Hat Enterprise MRG Reporter: Valiantsina Hubeika <vhubeika>
Component: qpid-jcaAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: Messaging QE <messaging-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.3CC: jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Valiantsina Hubeika 2013-10-20 23:13:47 UTC
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):
qpid-cpp-server-0.18-17
qpid-jca-0.18-8

How reproducible:


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.

Actual results:
A transacted session is successfully created allowing to send messages over it and commit.

Expected results:

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.

Additional info: