public class CommentMediator extends AbstractMediator
log, trace, traceState
Constructor and Description |
---|
CommentMediator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommentText()
Returns Comment text
|
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Mediation method.
|
void |
reportCloseStatistics(MessageContext messageContext,
java.lang.Integer currentIndex)
Report Close Statistic Event for the Mediator
|
java.lang.Integer |
reportOpenStatistics(MessageContext synCtx,
boolean isContentAltering)
Report Open Statistic Event for the Mediator
|
void |
setCommentText(java.lang.String commentText)
Set Comment Text
|
void |
setComponentStatisticsId(ArtifactHolder holder) |
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, setBreakPoint, setCommentsList, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(MessageContext synCtx)
synCtx
- the current message for mediation *public void setCommentText(java.lang.String commentText)
commentText
- Text value of the comment to be set for the mediatorpublic java.lang.String getCommentText()
public boolean isContentAware()
isContentAware
in interface Mediator
isContentAware
in class AbstractMediator
public void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId
in interface Mediator
setComponentStatisticsId
in class AbstractMediator
public java.lang.Integer reportOpenStatistics(MessageContext synCtx, boolean isContentAltering)
Mediator
reportOpenStatistics
in interface Mediator
reportOpenStatistics
in class AbstractMediator
public void reportCloseStatistics(MessageContext messageContext, java.lang.Integer currentIndex)
Mediator
reportCloseStatistics
in interface Mediator
reportCloseStatistics
in class AbstractMediator
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.