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, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
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-2017 Apache Software Foundation. All Rights Reserved.