You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Domenico Francesco Bruscino (Jira)" <ji...@apache.org> on 2022/03/21 15:07:00 UTC

[jira] [Updated] (ARTEMIS-3729) JMS CORE client session commit doesn't work after async sends

     [ https://issues.apache.org/jira/browse/ARTEMIS-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Domenico Francesco Bruscino updated ARTEMIS-3729:
-------------------------------------------------
    Fix Version/s: 2.21.0

> JMS CORE client session commit doesn't work after async sends
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-3729
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3729
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>             Fix For: 2.21.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.
> {code:java}
>         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();
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)