Bug 773348 - QpidRAMessage incorrectly calls getSession to determine if underlying JMS session has been closed.
Summary: QpidRAMessage incorrectly calls getSession to determine if underlying JMS ses...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-jca
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 2.1.2
: ---
Assignee: Weston M. Price
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
: 772679 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 15:35 UTC by Ted Ross
Modified: 2016-02-22 00:59 UTC (History)
4 users (show)

Fixed In Version: qpid-jca-0.14-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-07 17:42:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ted Ross 2012-01-11 15:35:50 UTC
In QpidRASessionImpl prior to returning a reference we evaluate the ConnectionRequestInfo type looking for an XA connection. I believe this code was inadvertently introduced via cut-n-paste and doesn't make sense. Currently it is causing an issue for certain scenarios where we need to manually acknowledge a message via the standard JMS API. This code should be removed.

ref: https://issues.apache.org/jira/browse/QPID-3731

Comment 1 Ted Ross 2012-01-11 16:00:21 UTC
Impact:
It is not possible to manually call acknowledge() on a message - this leads to
an exception - even if the call is valid according to spec.

Comment 3 Martin Vecera 2012-02-09 09:44:17 UTC
*** Bug 772679 has been marked as a duplicate of this bug. ***

Comment 4 Martin Vecera 2012-02-09 13:02:27 UTC
Verified with JCA adapter 0.14.


Note You need to log in before you can comment on or make changes to this bug.