[
https://issues.apache.org/activemq/browse/AMQ-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63176#action_63176
]
Bruce Snyder commented on AMQ-3022:
-----------------------------------
To suspend/resume a transaction, the JMS session would need to track each
transaction for each consumer (as well as any messages that were consumed in
every transaction). This is to ensure that acks do not occur where they should
not and do not occur out of order as this would really, really munge the state
of the broker. FWIW, there are many more details to this situation that I'm
glossing over. To support such functionality would require a very significant
amount of work/surgery on the broker!
The bottom line is that the suspend/resume of transactions is not supported in
ActiveMQ. What I am going to do is patch the code to catch any attempt to
suspend or join a given transaction and throw a more informative error.
> ActiveMQ does not support suspend/resume of transactions
> ---------------------------------------------------------
>
> Key: AMQ-3022
> URL: https://issues.apache.org/activemq/browse/AMQ-3022
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2, 5.4.0, 5.4.1
> Reporter: Bruce Snyder
> Assignee: Bruce Snyder
>
> A user of the [Bitronix transaction manager|http://btm.codehaus.org/] had
> trouble with ActiveMQ and its ability to suspend/resume transactions. See the
> [Bitronix issue|http://jira.codehaus.org/browse/BTM-87] for more information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.