Skip to content

Commit

Permalink
JBTM-1323 InvalidTerminationStateException in multi-hop TXBridge senario
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobinson committed Oct 30, 2012
1 parent f1d2170 commit 6240569
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -42,6 +42,9 @@
*/
public class JaxWSTxInboundBridgeHandler implements Handler
{

private InboundBridge inboundBridge;

/**
* Process a message. Determines if it is inbound or outbound and dispatches accordingly.
*
Expand Down Expand Up @@ -90,7 +93,7 @@ protected boolean handleInbound(MessageContext msgContext)

try
{
InboundBridge inboundBridge = org.jboss.jbossts.txbridge.inbound.InboundBridgeManager.getInboundBridge();
inboundBridge = org.jboss.jbossts.txbridge.inbound.InboundBridgeManager.getInboundBridge();
inboundBridge.start();
}
catch (Exception e)
Expand Down Expand Up @@ -126,7 +129,6 @@ private boolean suspendTransaction()

try
{
org.jboss.jbossts.txbridge.inbound.InboundBridge inboundBridge = InboundBridgeManager.getInboundBridge();
inboundBridge.stop();
}
catch (Exception e)
Expand Down

0 comments on commit 6240569

Please sign in to comment.