public class CommentMediator extends AbstractMediator
log, trace, traceState| Constructor and Description |
|---|
CommentMediator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommentText()
Returns Comment text
|
boolean |
isContentAware() |
boolean |
mediate(MessageContext synCtx)
Mediation method.
|
void |
reportCloseStatistics(MessageContext messageContext,
Integer currentIndex)
Report Close Statistic Event for the Mediator
|
Integer |
reportOpenStatistics(MessageContext synCtx,
boolean isContentAltering)
Report Open Statistic Event for the Mediator
|
void |
setCommentText(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, unregisterMediationFlowPointpublic boolean mediate(MessageContext synCtx)
synCtx - the current message for mediation *public void setCommentText(String commentText)
commentText - Text value of the comment to be set for the mediatorpublic String getCommentText()
public boolean isContentAware()
isContentAware in interface MediatorisContentAware in class AbstractMediatorpublic void setComponentStatisticsId(ArtifactHolder holder)
setComponentStatisticsId in interface MediatorsetComponentStatisticsId in class AbstractMediatorpublic Integer reportOpenStatistics(MessageContext synCtx, boolean isContentAltering)
MediatorreportOpenStatistics in interface MediatorreportOpenStatistics in class AbstractMediatorpublic void reportCloseStatistics(MessageContext messageContext, Integer currentIndex)
MediatorreportCloseStatistics in interface MediatorreportCloseStatistics in class AbstractMediatorCopyright © 2005–2024 Apache Software Foundation. All rights reserved.