public class LogMediator extends AbstractMediator
Modifier and Type | Field and Description |
---|---|
static int |
CATEGORY_DEBUG |
static int |
CATEGORY_ERROR |
static int |
CATEGORY_FATAL |
static int |
CATEGORY_INFO |
static int |
CATEGORY_TRACE |
static int |
CATEGORY_WARN |
static int |
CUSTOM
Only properties specified to the Log mediator
|
static java.lang.String |
DEFAULT_SEP |
static int |
FULL
all attributes of level 'simple' and the SOAP envelope and any properties
|
static int |
HEADERS
All SOAP header blocks and any properties
|
static int |
SIMPLE
To, From, WSAction, SOAPAction, ReplyTo, MessageID and any properties
|
log, trace, traceState
Constructor and Description |
---|
LogMediator() |
Modifier and Type | Method and Description |
---|---|
void |
addAllProperties(java.util.List<MediatorProperty> list) |
void |
addProperty(MediatorProperty p) |
int |
getCategory() |
int |
getLogLevel() |
java.util.List<MediatorProperty> |
getProperties() |
java.lang.String |
getSeparator() |
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Logs the current message according to the supplied semantics
|
void |
setCategory(int category) |
void |
setLogLevel(int logLevel) |
void |
setSeparator(java.lang.String separator) |
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 int CUSTOM
public static final int SIMPLE
public static final int HEADERS
public static final int FULL
public static final int CATEGORY_INFO
public static final int CATEGORY_DEBUG
public static final int CATEGORY_TRACE
public static final int CATEGORY_WARN
public static final int CATEGORY_ERROR
public static final int CATEGORY_FATAL
public static final java.lang.String DEFAULT_SEP
public boolean mediate(MessageContext synCtx)
synCtx
- (current) message to be loggedpublic int getLogLevel()
public void setLogLevel(int logLevel)
public java.lang.String getSeparator()
public void setSeparator(java.lang.String separator)
public void addProperty(MediatorProperty p)
public void addAllProperties(java.util.List<MediatorProperty> list)
public java.util.List<MediatorProperty> getProperties()
public int getCategory()
public void setCategory(int category)
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.