/** * Break the association between the JTA transaction context and the calling Thread. * * @return true on success, false on error */ private boolean suspendTransaction() { txbridgeLogger.logger.trace("JaxWSTxInboundBridgeHandler.suspendTransaction()"); try { inboundBridge.stop(); } catch (Exception e) { txbridgeLogger.logger.error(e); return false; } return true; } }
private void bridgeOutgoingTransaction() { try { // disassociate subordinate JTA transaction InboundBridge txInboundBridge = InboundBridgeManager.getInboundBridge(); txInboundBridge.stop(); // disassociate WS-AT transaction final com.arjuna.mw.wst11.TransactionManager wsatManager = TransactionManagerFactory.transactionManager(); if (wsatManager != null) { wsatManager.suspend(); } } catch (final Throwable th) { throw new SwitchYardException(th); } }
private void bridgeOutgoingTransaction() { try { // disassociate subordinate JTA transaction InboundBridge txInboundBridge = InboundBridgeManager.getInboundBridge(); txInboundBridge.stop(); // disassociate WS-AT transaction final com.arjuna.mw.wst11.TransactionManager wsatManager = TransactionManagerFactory.transactionManager(); if (wsatManager != null) { wsatManager.suspend(); } } catch (final Throwable th) { throw new SwitchYardException(th); } }
inboundBridge.stop();