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

JMS CORE client session commit doesn't work after async sends

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.21.0
    • None
    • None

    Description

      Invoking the commit on a transacted session using the JMS CORE client doesn't works after sending async messages. The JMS CORE client doesn't wait for server commit response.

              ActiveMQConnectionFactory activeMQConnectionFactory =
                  new ActiveMQConnectionFactory(connectionURL);
              Connection  activeMQConnectionFactory.createConnection();
              Session session = connection.createSession(Session.SESSION_TRANSACTED);
              MessageProducer producer = session.createProducer(null);
      
              producer.send(activeMQTopic, createMessage(session, id), instance);
              session.commit();
      

      Attachments

        Issue Links

          Activity

            People

              brusdev Domenico Francesco Bruscino
              brusdev Domenico Francesco Bruscino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h