Class PropertyGroupMediator
- java.lang.Object
-
- org.apache.synapse.mediators.AbstractMediator
-
- org.apache.synapse.mediators.builtin.PropertyGroupMediator
-
- All Implemented Interfaces:
AspectConfigurable
,Mediator
,SynapseArtifact
public class PropertyGroupMediator extends AbstractMediator
The propertyGroup mediator would save(or remove) a set of named properties as a local property of the Synapse Message Context or as a property of the Axis2 Message Context or as a Transport Header. Properties set this way could be extracted through the XPath extension function "synapse:get-property(scope,prop-name)"
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
-
-
Constructor Summary
Constructors Constructor Description PropertyGroupMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PropertyMediator>
getPropGroupList()
boolean
mediate(MessageContext synCtx)
Sets the properties into the current (local) Synapse Context or into the Axis Message Context or into Transports Header and removes above properties from the corresponding locations.void
setPropGroupList(List<PropertyMediator> propGroupList)
-
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, isContentAware, 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
-
mediate
public boolean mediate(MessageContext synCtx)
Sets the properties into the current (local) Synapse Context or into the Axis Message Context or into Transports Header and removes above properties from the corresponding locations.- Parameters:
synCtx
- the message context- Returns:
- true always
-
getPropGroupList
public List<PropertyMediator> getPropGroupList()
-
setPropGroupList
public void setPropGroupList(List<PropertyMediator> propGroupList)
-
-