public class WildflyTransactionClientTxBridgeIntegrationHandler extends Object implements Handler<MessageContext>
Handler to integrate the handle message event with WildFly Transaction client (WFTC) SPI.
This handler has to be defined in order to be called after the OptionalJaxWSTxInboundBridgeHandler.
Check the handler enlistment at XTSHandlerDeploymentProcessor.
Importing transaction for incoming WS message is handled by WS integration class: AbstractInvocationHandler where the interceptor context is filled with the imported transaction.
When the call leaves eJB there is invoked handler TransactionRollbackSetupAction verifying existence of the transactions.
At that time the transaction should be suspended. In case of WS call where XTS transaction was imported the suspend
of the transaction is done in XTS handler. This handler is part of the Narayana code and the transaction is thus suspended.
But WFTC stores its own notion about transaction existence and none suspends the WFTC
| Constructor and Description |
|---|
WildflyTransactionClientTxBridgeIntegrationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(MessageContext context) |
boolean |
handleFault(MessageContext context) |
boolean |
handleMessage(MessageContext messageContext) |
public WildflyTransactionClientTxBridgeIntegrationHandler()
public boolean handleMessage(MessageContext messageContext)
handleMessage in interface Handler<MessageContext>public boolean handleFault(MessageContext context)
handleFault in interface Handler<MessageContext>public void close(MessageContext context)
close in interface Handler<MessageContext>Copyright © 2019 JBoss by Red Hat. All rights reserved.