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)]>
<target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
[endpoint="endpoint_ref"]>
<sequence>
(mediator)+
</sequence>?
<endpoint>
endpoint
</endpoint>?
</target>+
</clone>
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorFactory |
ATT_EXPRN, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloneMediatorFactory
public CloneMediatorFactory()
createSpecificMediator
public Mediator createSpecificMediator(OMElement elem,
Properties properties)
- This method implements the createMediator method of the MediatorFactory interface
- Specified by:
createSpecificMediator
in class AbstractMediatorFactory
- 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
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.