org.mule.processor
Class TransactionalInterceptingMessageProcessor

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

public class TransactionalInterceptingMessageProcessor
extends AbstractInterceptingMessageProcessor

Wraps the invocation of the next MessageProcessor with a transaction. If the TransactionConfig is null then no transaction is used and the next MessageProcessor is invoked directly.


Field Summary
protected  TransactionConfig transactionConfig
           
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
logger, next
 
Constructor Summary
TransactionalInterceptingMessageProcessor(TransactionConfig transactionConfig)
           
 
Method Summary
 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
 

Field Detail

transactionConfig

protected TransactionConfig transactionConfig
Constructor Detail

TransactionalInterceptingMessageProcessor

public TransactionalInterceptingMessageProcessor(TransactionConfig transactionConfig)
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


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