[jbossts-issues] [JBoss JIRA] (JBTM-988) Support multiple @ServiceRequest calls per transaction, creating a single participant per RM
Paul Robinson (Resolved) (JIRA)
jira-events at lists.jboss.org
Fri Dec 9 10:37:16 EST 2011
[ https://issues.jboss.org/browse/JBTM-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Robinson resolved JBTM-988.
--------------------------------
Resolution: Done
> Support multiple @ServiceRequest calls per transaction, creating a single participant per RM
> --------------------------------------------------------------------------------------------
>
> Key: JBTM-988
> URL: https://issues.jboss.org/browse/JBTM-988
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: TXFramework
> Reporter: Paul Robinson
> Assignee: Paul Robinson
> Labels: TXFramework
> Fix For: 5.0.0.M2
>
>
> For example, with WS-BA:
> {code}
> @ServiceRequest
> pubic void addToBasket(...)
> {
> ...
> {
> @Completes
> public void checkout()
> (
> ...
> }
> @Compensate
> public void removeFromBasket(...)
> {
> ...
> }
> {code}
> Here addToBasket() can be called multiple times within the same transaction. The default behaviour should be to enlist a single participant, rather than one per Service-invocation.
> If the transaction is compensated, 'removeFromBasket' is invoked once. A single participant is registered, per transaction, even if many calls to a method annotated with @ServiceRequest occur.
> Similar functionality should be provided for WS-AT services.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list