org.mule.tck.functional
Class TransactionalFunctionalTestComponent
java.lang.Object
org.mule.tck.functional.FunctionalTestComponent
org.mule.tck.functional.TransactionalFunctionalTestComponent
- All Implemented Interfaces:
- Callable, Disposable, EventListener, Initialisable
public class TransactionalFunctionalTestComponent
- extends FunctionalTestComponent
This service is useful for unit tests involving transactionality because it
will roll back the current transaction upon message arrival.
| Methods inherited from class org.mule.tck.functional.FunctionalTestComponent |
append, dispose, getAppendString, getEventCallback, getExceptionToThrow, getLastReceivedMessage, getReceivedMessage, getReceivedMessages, getReturnData, getWaitTime, initialise, isDoInboundTransform, isEnableMessageHistory, isEnableNotifications, isThrowException, onReceive, process, setAppendString, setDoInboundTransform, setEnableMessageHistory, setEnableNotifications, setEventCallback, setExceptionToThrow, setReturnData, setThrowException, setWaitTime, throwException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalFunctionalTestComponent
public TransactionalFunctionalTestComponent()
onCall
public Object onCall(MuleEventContext context)
throws Exception
-
- Specified by:
onCall in interface Callable- Overrides:
onCall in class FunctionalTestComponent
- Throws:
Exception
isRollback
public boolean isRollback()
setRollback
public void setRollback(boolean rollback)
isExpectTransaction
public boolean isExpectTransaction()
setExpectTransaction
public void setExpectTransaction(boolean expectTransaction)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.