Class RouterMediatorSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.AbstractMediatorSerializer
-
- org.wso2.carbon.mediators.router.impl.config.xml.RouterMediatorSerializer
-
- All Implemented Interfaces:
org.apache.synapse.config.xml.MediatorSerializer
public class RouterMediatorSerializer extends org.apache.synapse.config.xml.AbstractMediatorSerializer
Serializes the
RouterMediator
into the following configuration<router [continueAfter=(true | false)]> <route expression="xpath" [match="regEx"] [breakRouter=(true | false)]> <target [sequence="string"] [endpoint="string"]> <sequence ....../>? <endpoint ....../>? </target> </route>+ </router>
-
-
Constructor Summary
Constructors Constructor Description RouterMediatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMediatorClassName()
org.apache.axiom.om.OMElement
serializeSpecificMediator(org.apache.synapse.Mediator mediator)
-
-
-
Method Detail
-
serializeSpecificMediator
public org.apache.axiom.om.OMElement serializeSpecificMediator(org.apache.synapse.Mediator mediator)
- Specified by:
serializeSpecificMediator
in classorg.apache.synapse.config.xml.AbstractMediatorSerializer
-
getMediatorClassName
public String getMediatorClassName()
-
-