public class TransactionMediator extends AbstractMediator
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_COMMIT |
static String |
ACTION_FAULT_IF_NO_TX |
static String |
ACTION_NEW |
static String |
ACTION_ROLLBACK |
static String |
ACTION_USE_EXISTING_OR_NEW |
log, trace, traceState
Constructor and Description |
---|
TransactionMediator() |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Invokes the mediator passing the current message for mediation.
|
void |
setAction(String action) |
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public static final String ACTION_COMMIT
public static final String ACTION_ROLLBACK
public static final String ACTION_NEW
public static final String ACTION_USE_EXISTING_OR_NEW
public static final String ACTION_FAULT_IF_NO_TX
public boolean mediate(MessageContext synCtx)
Mediator
synCtx
- the current message for mediationpublic void setAction(String action)
public String getAction()
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.