Author: ruwan
Date: Sat Nov 20 11:36:04 2010
New Revision: 1037178
URL: http://svn.apache.org/viewvc?rev=1037178&view=rev
Log:
Adding lb members to the endpoint schema
Modified:
synapse/branches/2.0/repository/schema/endpoint.xsd
Modified: synapse/branches/2.0/repository/schema/endpoint.xsd
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/repository/schema/endpoint.xsd?rev=1037178&r1=1037177&r2=1037178&view=diff
==============================================================================
--- synapse/branches/2.0/repository/schema/endpoint.xsd (original)
+++ synapse/branches/2.0/repository/schema/endpoint.xsd Sat Nov 20 11:36:04 2010
@@ -126,7 +126,7 @@
</xs:element>
<xs:element name="loadbalance" minOccurs="1" maxOccurs="1">
<xs:complexType>
- <xs:sequence>
+ <xs:choice maxOccurs="unbounded">
<xs:element name="endpoint" minOccurs="2"
maxOccurs="unbounded">
<xs:complexType>
<xs:choice>
@@ -137,7 +137,14 @@
<xs:attribute name="key" type="xs:string"
use="optional"/>
</xs:complexType>
</xs:element>
- </xs:sequence>
+ <xs:element name="member" minOccurs="2"
maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="hostName" type="xs:string"
use="optional"/>
+ <xs:attribute name="httpPort" type="xs:string"
use="optional"/>
+ <xs:attribute name="httpsPort"
type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
<xs:attribute name="algorithm" type="xs:string"
default="org.apache.synapse.endpoints.algorithms.RoundRobin" use="optional"/>
<xs:attribute name="failover" type="xs:boolean"
default="true" use="optional"/>
</xs:complexType>