You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/08/08 11:12:00 UTC
[jira] [Created] (ARTEMIS-1331) JMS test
ConnectionTest#testTXTypeInvalid passes with Core JMS (artemis-jms-client)
and fails with the other ones
Jiri Danek created ARTEMIS-1331:
-----------------------------------
Summary: JMS test ConnectionTest#testTXTypeInvalid passes with Core JMS (artemis-jms-client) and fails with the other ones
Key: ARTEMIS-1331
URL: https://issues.apache.org/jira/browse/ARTEMIS-1331
Project: ActiveMQ Artemis
Issue Type: Test
Affects Versions: 2.3.0
Reporter: Jiri Danek
Priority: Trivial
Consider {{org.apache.activemq.artemis.tests.integration.jms.client.ConnectionTest#testTXTypeInvalid}}.
If you do
{noformat}
Session sess = conn.createSession(false, Session.SESSION_TRANSACTED);
{noformat}
then Core JMS does not throw {{javax.jms.JMSException: acknowledgeMode SESSION_TRANSACTED cannot be used for an non-transacted Session}}, the other JMS clients do.
So either Core or the other clients do something wrong.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)