[
https://jira.jboss.org/jira/browse/JBTM-495?page=com.atlassian.jira.plugi...
]
Andrew Dinn commented on JBTM-495:
----------------------------------
If the client does not provide an AT context then the handler should do nothing. This will
ensure that the web method gets a WrongState exception if it tries to perform any
transactional operations such as enlist, etc.
Provide handler to automate installation of subordinate transaction
context when web service is invoked
-------------------------------------------------------------------------------------------------------
Key: JBTM-495
URL:
https://jira.jboss.org/jira/browse/JBTM-495
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: WS-T Implementation
Affects Versions: 4.5
Reporter: Andrew Dinn
Assignee: Andrew Dinn
Fix For: 4.6
If a transactional web service needs to execute in the context of its own subordinate AT
transaction then it should be possible to configure a message handler on the server side
to achieve this. For an incoming message the handler should check for an AT context flowed
from the web client, create a subordinate AT transaction and install the subordinate
context on the web service thread. It should suspend the transaction for an outgoing
message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira