org.apache.synapse.config.xml
Class IterateMediatorFactory
java.lang.Object
org.apache.synapse.config.xml.AbstractMediatorFactory
org.apache.synapse.config.xml.IterateMediatorFactory
- All Implemented Interfaces:
- MediatorFactory
public class IterateMediatorFactory
- extends AbstractMediatorFactory
The <iterate> element is used to split messages in Synapse to smaller messages with only
one part of the elements described in the XPATH expression.
<iterate [continueParent=(true | false)] [preservePayload=(true | false)]
(attachPath="xpath")? expression="xpath">
<target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"]
[endpoint="endpoint_ref"]>
<sequence>
(mediator)+
</sequence>?
<endpoint>
endpoint
</endpoint>?
</target>+
</iterate>
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, TARGET_Q |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterateMediatorFactory
public IterateMediatorFactory()
createSpecificMediator
public Mediator createSpecificMediator(OMElement elem,
Properties properties)
- This method will create the IterateMediator by parsing the given xml configuration
- Specified by:
createSpecificMediator
in class AbstractMediatorFactory
- Parameters:
elem
- OMElement describing the configuration of the IterateMediaotrproperties
- properties passed
- Returns:
- IterateMediator created from the given configuration
getTagQName
public QName getTagQName()
- Get the IterateMediator configuration tag name
- Returns:
- QName specifying the IterateMediator tag name of the xml configuration
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.