Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1331

JMS test ConnectionTest#testTXTypeInvalid passes with Core JMS (artemis-jms-client) and fails with the other ones

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 2.3.0
    • None
    • None
    • None

    Description

      Consider org.apache.activemq.artemis.tests.integration.jms.client.ConnectionTest#testTXTypeInvalid.

      If you do

            Session sess = conn.createSession(false, Session.SESSION_TRANSACTED);
      

      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.

      (See full reproducer at https://github.com/jdanekrh/jms-reproducers/blob/master/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/ConnectionTest.java)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdanek Jiri Daněk
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: