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 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(List<MediatorProperty> list) |
void |
addProperty(MediatorProperty p) |
int |
getCategory() |
int |
getLogLevel() |
List<MediatorProperty> |
getProperties() |
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(String separator) |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
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 String DEFAULT_SEP
public boolean mediate(MessageContext synCtx)
synCtx
- (current) message to be loggedpublic int getLogLevel()
public void setLogLevel(int logLevel)
public String getSeparator()
public void setSeparator(String separator)
public void addProperty(MediatorProperty p)
public void addAllProperties(List<MediatorProperty> list)
public List<MediatorProperty> getProperties()
public int getCategory()
public void setCategory(int category)
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.