Class 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>
     
    • Constructor Detail

      • IterateMediatorFactory

        public IterateMediatorFactory()
    • Method Detail

      • createSpecificMediator

        public Mediator createSpecificMediator​(org.apache.axiom.om.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 IterateMediaotr
        properties - 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