Package org.apache.synapse.config.xml
Class CloneMediatorFactory
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorFactory
-
- org.apache.synapse.config.xml.CloneMediatorFactory
-
- All Implemented Interfaces:
MediatorFactory
public class CloneMediatorFactory extends AbstractMediatorFactory
The <clone> element is used to copy messages in Synapse to similar messages but with different message contexts and mediated using the specified targets<clone [continueParent=(true | false)] [iterations="number"]> <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]> <sequence> (mediator)+ </sequence>? <endpoint> endpoint </endpoint>? </target>+ </clone>
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorFactory
ATT_DEFAULT_VALUE, ATT_DESCRIPTION, ATT_EVAL, ATT_EXPRN, ATT_IS_MANDATORY, ATT_KEY, ATT_NAME, ATT_ONERROR, ATT_REGEX, ATT_SEQUENCE, ATT_SOURCE, ATT_STATS, ATT_TARGET, ATT_VALUE, ATT_XPATH, DESCRIPTION_Q, FEATURE_Q, PROP_Q, PROPERTY_GROUP_Q
-
-
Constructor Summary
Constructors Constructor Description CloneMediatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mediator
createSpecificMediator(org.apache.axiom.om.OMElement elem, Properties properties)
This method implements the createMediator method of the MediatorFactory interfaceQName
getTagQName()
This method will implement the getTagQName method of the MediatorFactory interface-
Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorFactory
addAllCommentChildrenToList, collectNameValuePairs, createMediator, handleException, handleException, processAuditStatus, processTraceState
-
-
-
-
Method Detail
-
createSpecificMediator
public Mediator createSpecificMediator(org.apache.axiom.om.OMElement elem, Properties properties)
This method implements the createMediator method of the MediatorFactory interface- Specified by:
createSpecificMediator
in classAbstractMediatorFactory
- Parameters:
elem
- - OMElement describing the element which will be parsed to build the CloneMediatorproperties
-- Returns:
- Mediator of the type CloneMediator built from the config element
-
getTagQName
public QName getTagQName()
This method will implement the getTagQName method of the MediatorFactory interface- Returns:
- QName of the clone element in xml configuration
-
-