You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/11/17 03:40:41 UTC
svn commit: r1035907 - /synapse/trunk/java/repository/schema/endpoint.xsd
Author: ruwan
Date: Wed Nov 17 02:40:41 2010
New Revision: 1035907
URL: http://svn.apache.org/viewvc?rev=1035907&view=rev
Log:
Adding dynamicLB to the endpoint schema
Modified:
synapse/trunk/java/repository/schema/endpoint.xsd
Modified: synapse/trunk/java/repository/schema/endpoint.xsd
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/schema/endpoint.xsd?rev=1035907&r1=1035906&r2=1035907&view=diff
==============================================================================
--- synapse/trunk/java/repository/schema/endpoint.xsd (original)
+++ synapse/trunk/java/repository/schema/endpoint.xsd Wed Nov 17 02:40:41 2010
@@ -54,6 +54,7 @@
<xs:choice minOccurs="1">
<xs:group ref="leafEndpoints" minOccurs="0" maxOccurs="1"/>
<xs:group ref="aggregatedEndpoints" minOccurs="0" maxOccurs="1"/>
+ <xs:group ref="dynamicLB" minOccurs="0" maxOccurs="1"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="optional"/>
<xs:attribute name="key" type="xs:string" use="optional"/>
@@ -170,6 +171,37 @@
</xs:all>
</xs:group>
+ <xs:group name="dynamicLB">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This group represents the dynamic loadbalance endpoint
+ </xs:documentation>
+ </xs:annotation>
+ <xs:all>
+ <xs:element name="dynamicLoadbalance" minOccurs="1" maxOccurs="1">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="membershipHandler" minOccurs="1" maxOccurs="1">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="value" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string" use="optional" default="org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="algorithm" type="xs:string" use="optional" default="org.apache.synapse.endpoints.algorithms.RoundRobin"/>
+ <xs:attribute name="failover" type="xs:boolean" use="optional" default="true"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:group>
+
<xs:complexType name="DefaultEndpoint">
<xs:annotation>
<xs:documentation source="description">