org.mule.endpoint.outbound
Class OutboundTxRollbackMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.endpoint.outbound.OutboundTxRollbackMessageProcessor
All Implemented Interfaces:
InterceptingMessageProcessor, MessageProcessor, MessageSource

public class OutboundTxRollbackMessageProcessor
extends AbstractInterceptingMessageProcessor

MessageProcessor implementation that stops outbound flow is the current transaction has been rolled back.


Field Summary
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
logger, next
 
Constructor Summary
OutboundTxRollbackMessageProcessor()
           
 
Method Summary
protected  boolean isTransactionRollback()
          Checks to see if the current transaction has been rolled back
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
processNext, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutboundTxRollbackMessageProcessor

public OutboundTxRollbackMessageProcessor()
Method Detail

process

public MuleEvent process(MuleEvent event)
                  throws MuleException
Description copied from interface: MessageProcessor
Invokes the MessageProcessor.

Parameters:
event - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException

isTransactionRollback

protected boolean isTransactionRollback()
Checks to see if the current transaction has been rolled back



Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.