[jbossts-issues] [JBoss JIRA] (JBTM-988) Support multiple @ServiceRequest calls per transaction

Paul Robinson (Created) (JIRA) jira-events at lists.jboss.org
Mon Nov 28 13:15:41 EST 2011


Support multiple @ServiceRequest calls per transaction
------------------------------------------------------

                 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)
            Reporter: Paul Robinson
            Assignee: Paul Robinson
             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. If the transaction is compensated, 'removeFromBasket' is invoked once per call to 'addToBasket' and once when checkout is called. A participant is registered for every call to a method annotated with @ServiceRequest.

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