There is no method to “start” a transaction with an Artemis core
false then any send or ack performed by the session once it is created will be a part of the transaction until
rollback() is called. Based on the values set for
autoCommitAcks both sending and acking can be a part of the same transaction or just one or the other.
If autoCommit is
true for either sends or acks then calling
rollback() won’t have any functional impact on the corresponding operation. However, the client will still send the command to the broker and wait for the broker’s response. It’s the client’s responsibility not to invoke these operations unless it’s actually necessary.
CLICK HERE to find out more related problems solutions.