Package org.wso2.carbon.mediator.bam
Class BamMediator
- java.lang.Object
-
- org.apache.synapse.mediators.AbstractMediator
-
- org.wso2.carbon.mediator.bam.BamMediator
-
- All Implemented Interfaces:
org.apache.synapse.aspects.AspectConfigurable
,org.apache.synapse.Mediator
,org.apache.synapse.SynapseArtifact
public class BamMediator extends org.apache.synapse.mediators.AbstractMediator
Extracts the current message payload/header data according to the given configuration. Extracted information is sent as an event.
-
-
Constructor Summary
Constructors Constructor Description BamMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getServerProfile()
Stream
getStream()
boolean
isContentAware()
boolean
mediate(org.apache.synapse.MessageContext messageContext)
void
setContentAwareness(org.wso2.carbon.mediator.bam.config.stream.StreamConfiguration streamConfiguration)
void
setServerProfile(String serverProfile)
-
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
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
-
-
-
-
Method Detail
-
setContentAwareness
public void setContentAwareness(org.wso2.carbon.mediator.bam.config.stream.StreamConfiguration streamConfiguration)
-
isContentAware
public boolean isContentAware()
- Specified by:
isContentAware
in interfaceorg.apache.synapse.Mediator
- Overrides:
isContentAware
in classorg.apache.synapse.mediators.AbstractMediator
-
mediate
public boolean mediate(org.apache.synapse.MessageContext messageContext)
-
getStream
public Stream getStream()
-
getServerProfile
public String getServerProfile()
-
setServerProfile
public void setServerProfile(String serverProfile)
-
-