[jboss-svn-commits] JBL Code SVN: r11916 - labs/jbossesb/trunk/product/etc/schemas/xml.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu May 17 16:39:26 EDT 2007


Author: bill.burke at jboss.com
Date: 2007-05-17 16:39:25 -0400 (Thu, 17 May 2007)
New Revision: 11916

Modified:
   labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd
Log:
formatting (i'll be updating later with JCA changes)

Modified: labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd
===================================================================
--- labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd	2007-05-17 20:33:30 UTC (rev 11915)
+++ labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd	2007-05-17 20:39:25 UTC (rev 11916)
@@ -6,841 +6,841 @@
         targetNamespace="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
         elementFormDefault="qualified">
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             Document root + some basic types.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      Document root + some basic types.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
 
-    <xsd:element name="jbossesb">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">The jbossesb configuration for a single instance.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:providers" minOccurs="0" maxOccurs="1"/>
-                <xsd:element ref="jesb:services" minOccurs="0" maxOccurs="1"/>
-            </xsd:sequence>
-            <xsd:attribute name="parameterReloadSecs" use="optional" default="180"/>
-        </xsd:complexType>
-    </xsd:element>
+   <xsd:element name="jbossesb">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">The jbossesb configuration for a single instance.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:providers" minOccurs="0" maxOccurs="1"/>
+            <xsd:element ref="jesb:services" minOccurs="0" maxOccurs="1"/>
+         </xsd:sequence>
+         <xsd:attribute name="parameterReloadSecs" use="optional" default="180"/>
+      </xsd:complexType>
+   </xsd:element>
 
-    <xsd:element name="property">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A simple name-value pair.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="xsd:anyType">
-                    <xsd:attribute name="name" use="required" type="xsd:string"/>
-                    <xsd:attribute name="value" type="xsd:string"/>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
+   <xsd:element name="property">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A simple name-value pair.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="xsd:anyType">
+               <xsd:attribute name="name" use="required" type="xsd:string"/>
+               <xsd:attribute name="value" type="xsd:string"/>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             Provider and Bus base types.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      Provider and Bus base types.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
 
-    <xsd:element name="providers">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A container for the providers referenced in the jbossesb config file
+   <xsd:element name="providers">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A container for the providers referenced in the jbossesb config file
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:provider" maxOccurs="unbounded" minOccurs="1"/>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:complexType name="provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A provider of a bus. So for instance you can have a jms-provider (JBossMQ)
+            or an ftp-provider.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element ref="jesb:bus" maxOccurs="unbounded" minOccurs="1"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string"/>
+   </xsd:complexType>
+   <xsd:element name="provider" type="jesb:provider"/>
+
+   <xsd:complexType name="bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A bus (also called "channel" by others) is a means by which Services
+            communicate with each other (JMS, FTP, HTTP, etc).
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="busid" use="required" type="xsd:string">
+         <xsd:annotation>
+            <xsd:documentation xml:lang="en">An id such that this bus can be referenced by Service listn.
             </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:provider" maxOccurs="unbounded" minOccurs="1"/>
-            </xsd:sequence>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:complexType name="provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A provider of a bus. So for instance you can have a jms-provider (JBossMQ)
-                or an ftp-provider.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:sequence>
-            <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
-            <xsd:element ref="jesb:bus" maxOccurs="unbounded" minOccurs="1"/>
-        </xsd:sequence>
-        <xsd:attribute name="name" use="required" type="xsd:string"/>
-    </xsd:complexType>
-    <xsd:element name="provider" type="jesb:provider"/>
+            <xsd:appinfo>
+            </xsd:appinfo>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:element name="bus" type="jesb:bus"/>
 
-    <xsd:complexType name="bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A bus (also called "channel" by others) is a means by which Services
-                communicate with each other (JMS, FTP, HTTP, etc).
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:sequence>
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      Service and Action types.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+   <xsd:element name="services">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A container for services.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:service" minOccurs="1" maxOccurs="unbounded"/>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="service">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A service has listener or gateways and a list of actions.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:listeners" minOccurs="1" maxOccurs="1"/>
+            <xsd:element ref="jesb:actions" minOccurs="0" maxOccurs="1"/>
+         </xsd:sequence>
+         <xsd:attribute name="category" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The service category which will be used to store a reference to
+                  this service in the registry.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="name" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The service name which will be used to store a reference to this
+                  service in the registry.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="description" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The service description which stored with this service in the
+                  registry, so that the purpose of this service can be understood by a human.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+
+   <xsd:element name="actions">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A container for actions belonging to this service.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:action" minOccurs="1" maxOccurs="unbounded"/>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="action">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">An action which will act on the message when it is received by the service.
+            Actions can be chained. Hence you can specify a list of actions. Action are 'pluggable' and can be
+            custom code, however
+            JBossESB comes with a list of predefined actions.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
             <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
-        </xsd:sequence>
-        <xsd:attribute name="busid" use="required" type="xsd:string">
+         </xsd:sequence>
+         <xsd:attribute name="name" use="required" type="xsd:string">
             <xsd:annotation>
-                <xsd:documentation xml:lang="en">An id such that this bus can be referenced by Service listn.
-                </xsd:documentation>
-                <xsd:appinfo>
-                </xsd:appinfo>
+               <xsd:documentation xml:lang="en">The logical name of the action.</xsd:documentation>
             </xsd:annotation>
-        </xsd:attribute>
-    </xsd:complexType>
-    <xsd:element name="bus" type="jesb:bus"/>
+         </xsd:attribute>
+         <xsd:attribute name="class" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The full classname of the java class in which this action is
+                  defined.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="process" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The name of the method on the action that needs to be called when
+                  the message is received.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             Service and Action types.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      Listener base types.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
 
-    <xsd:element name="services">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A container for services.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:service" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:sequence>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="service">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A service has listener or gateways and a list of actions.
+   <xsd:element name="listeners">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A container for all listener for a service.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:sequence>
+            <xsd:element ref="jesb:listener" maxOccurs="unbounded" minOccurs="1"/>
+         </xsd:sequence>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:complexType name="listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A listener is a listener or a gateway. The listener defines to which bus
+            the service is listening. The service can simultaneniously listen to multiple buses.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:sequence>
+         <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
+      </xsd:sequence>
+      <xsd:attribute name="name" use="required" type="xsd:string">
+         <xsd:annotation>
+            <xsd:documentation xml:lang="en">The logical name of the listener.</xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="busidref" use="optional" type="xsd:string" default="$not-defined$">
+         <xsd:annotation>
+            <xsd:documentation xml:lang="en">A reference to an existing bus, as defined in the 'buses' section of
+               this jbossesb config.
             </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:listeners" minOccurs="1" maxOccurs="1"/>
-                <xsd:element ref="jesb:actions" minOccurs="0" maxOccurs="1"/>
-            </xsd:sequence>
-            <xsd:attribute name="category" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The service category which will be used to store a reference to
-                        this service in the registry.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="name" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The service name which will be used to store a reference to this
-                        service in the registry.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="description" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The service description which stored with this service in the
-                        registry, so that the purpose of this service can be understood by a human.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
-
-    <xsd:element name="actions">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A container for actions belonging to this service.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:action" minOccurs="1" maxOccurs="unbounded"/>
-            </xsd:sequence>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="action">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">An action which will act on the message when it is received by the service.
-                Actions can be chained. Hence you can specify a list of actions. Action are 'pluggable' and can be
-                custom code, however
-                JBossESB comes with a list of predefined actions.
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="maxThreads" use="optional" type="xsd:int" default="1">
+         <xsd:annotation>
+            <xsd:documentation xml:lang="en">The number of threads which will be started for this listener.
             </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
-            </xsd:sequence>
-            <xsd:attribute name="name" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The logical name of the action.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="class" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The full classname of the java class in which this action is
-                        defined.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="process" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The name of the method on the action that needs to be called when
-                        the message is received.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="is-gateway" use="optional" type="xsd:boolean" default="false">
+         <xsd:annotation>
+            <xsd:documentation xml:lang="en">true if the listener is a gateway. A gateway is an ESB-Unware listener,
+               while a
+               listener is ESB-aware and as such expects jbossesb formatted messages.
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   <xsd:element name="listener" type="jesb:listener"/>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             Listener base types.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      JMS Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
 
-    <xsd:element name="listeners">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A container for all listener for a service.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:sequence>
-                <xsd:element ref="jesb:listener" maxOccurs="unbounded" minOccurs="1"/>
-            </xsd:sequence>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:complexType name="listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A listener is a listener or a gateway. The listener defines to which bus
-                the service is listening. The service can simultaneniously listen to multiple buses.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:sequence>
-            <xsd:element ref="jesb:property" minOccurs="0" maxOccurs="unbounded"/>
-        </xsd:sequence>
-        <xsd:attribute name="name" use="required" type="xsd:string">
+   <xsd:element name="jms-message-filter">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A JMS filter can add information to a Queue, or Topic. For example you
+            can defined a message-selector. However, you can also push the queue name and type into this
+            filter given you did not already specify them in the jms-bus.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:attribute name="dest-name" use="required" type="xsd:string">
             <xsd:annotation>
-                <xsd:documentation xml:lang="en">The logical name of the listener.</xsd:documentation>
+               <xsd:documentation xml:lang="en">Name of the Queue of Topic.</xsd:documentation>
             </xsd:annotation>
-        </xsd:attribute>
-        <xsd:attribute name="busidref" use="optional" type="xsd:string" default="$not-defined$">
+         </xsd:attribute>
+         <xsd:attribute name="dest-type" use="required">
             <xsd:annotation>
-                <xsd:documentation xml:lang="en">A reference to an existing bus, as defined in the 'buses' section of
-                    this jbossesb config.
-                </xsd:documentation>
+               <xsd:documentation xml:lang="en">A Queue delivers a message once, a topic broadcasts a message to
+                  all registered listeners.
+               </xsd:documentation>
             </xsd:annotation>
-        </xsd:attribute>
-        <xsd:attribute name="maxThreads" use="optional" type="xsd:int" default="1">
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:NMTOKEN">
+                  <xsd:enumeration value="QUEUE"/>
+                  <xsd:enumeration value="TOPIC"/>
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:attribute>
+         <xsd:attribute name="selector" type="xsd:string">
             <xsd:annotation>
-                <xsd:documentation xml:lang="en">The number of threads which will be started for this listener.
-                </xsd:documentation>
+               <xsd:documentation xml:lang="en">A message-selector allows multiple listeners to register with the
+                  same queue/topic, but
+                  they will filter on this message-selector.
+               </xsd:documentation>
             </xsd:annotation>
-        </xsd:attribute>
-        <xsd:attribute name="is-gateway" use="optional" type="xsd:boolean" default="false">
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="jms-bus" substitutionGroup="jesb:bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A JMS-Bus is a specific instance of a bus using the JMS protocol.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:bus">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:jms-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="jms-provider" substitutionGroup="jesb:provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific instance of a provider, providing JMS.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:provider">
+               <xsd:attribute name="connection-factory" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The connection-factory used to lookup queues/topics in a
+                        naming directory (JNDI)
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="jndi-context-factory" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The context factory class the JBossESB will use to do
+                        naming lookups.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="jndi-pkg-prefix" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The pkg-prefix which will be used to do naming lookups. It
+                        is left empty by default.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="jndi-URL" type="xsd:anyURI">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The URL used to do naming lookups.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="jms-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific listener using the jms protocol.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:jms-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      FS Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <xsd:element name="fs-message-filter">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A FS filter.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:attribute name="directory" use="required" type="xsd:string">
             <xsd:annotation>
-                <xsd:documentation xml:lang="en">true if the listener is a gateway. A gateway is an ESB-Unware listener,
-                    while a
-                    listener is ESB-aware and as such expects jbossesb formatted messages.
-                </xsd:documentation>
+               <xsd:documentation xml:lang="en">The file share that is monitored for incoming new files.
+               </xsd:documentation>
             </xsd:annotation>
-        </xsd:attribute>
-    </xsd:complexType>
-    <xsd:element name="listener" type="jesb:listener"/>
+         </xsd:attribute>
+         <xsd:attribute name="input-suffix" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix used to filter files targeted for comsumption by
+                  the ESB (note: add the dot, so something like '.esbIn').
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="work-suffix" use="optional" type="xsd:string" default=".esbInProcess">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix used while the file is being process, so that
+                  another thread or process won't pick it up too.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, the file will be deleted after it is processed. Note that
+                  in that case post-directory and post-suffix have no effect.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-directory" use="optional" type="xsd:string" default="processed">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file share to which the file will be moved after it is
+                  processed by the ESB
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-suffix" use="optional" type="xsd:string" default=".esbDone">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after it is
+                  processed.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, the file will be deleted if an error occurs during
+                  processing. Note that in that case error-directory and error-suffix have no effect.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-directory" use="optional" type="xsd:string" default="processed">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file share to which the file will be moved after when an error
+                  occurs during processing.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-suffix" use="optional" type="xsd:string" default=".esbERROR">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after an error
+                  occurs during processing.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="fs-bus" substitutionGroup="jesb:bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A Fs-Bus is a specific instance of a bus using the File protocol.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:bus">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:fs-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="fs-provider" substitutionGroup="jesb:provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific instance of a provider, providing a file system (local fileshare
+            or NAS).
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:provider"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="fs-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific listener using the file protocol.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:fs-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+               <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The frequency with which this listener polls fs in seconds.
+                        Defaults to 10 seconds.
+                     </xsd:documentation>
+                  </xsd:annotation>
+                  <xsd:simpleType>
+                     <xsd:restriction base="xsd:integer">
+                        <xsd:minExclusive value="0"/>
+                     </xsd:restriction>
+                  </xsd:simpleType>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             JMS Type Implementations.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      FTP Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <xsd:element name="ftp-message-filter">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A FTP filter.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:attribute name="directory" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The ftp directory that is monitored for incoming new files.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="username" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The username used to access the ftp server</xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="password" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The password used to access the ftp server.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="input-suffix" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix used to filter files targeted for comsumption by
+                  the ESB (note: add the dot, so something like '.esbIn').
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="work-suffix" use="optional" type="xsd:string" default=".esbInProcess">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix used while the file is being process, so that
+                  another thread or process won't pick it up too.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, the file will be deleted after it is processed. Note that
+                  in that case post-directory and post-suffix have no effect.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-directory" use="optional" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The ftp directory to which the file will be moved after it is
+                  processed by the ESB
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-suffix" use="optional" type="xsd:string" default=".esbDone">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after it is
+                  processed.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, the file will be deleted if an error occurs during
+                  processing. Note that in that case error-directory and error-suffix have no effect.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-directory" use="optional" type="xsd:string" default="processed">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The ftp directory to which the file will be moved after when an
+                  error occurs during processing.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-suffix" use="optional" type="xsd:string" default=".esbERROR">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after an error
+                  occurs during processing.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="passive" use="optional" type="xsd:boolean">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">This is an ftp server setting which may vary per session.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="protocol" use="optional" default="ftp">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The protocol, can be sftp (SSH File Transfer Protocol), ftps (FTP
+                  over SLL) and ftp (to which it defaults).
+               </xsd:documentation>
+            </xsd:annotation>
+            <xsd:simpleType>
+               <xsd:restriction base="xsd:NMTOKEN">
+                  <xsd:enumeration value="ftp"/>
+                  <xsd:enumeration value="ftps"/>
+                  <xsd:enumeration value="sftp"/>
+               </xsd:restriction>
+            </xsd:simpleType>
+         </xsd:attribute>
+         <xsd:attribute name="certificate-url" use="optional" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The url to a certificate, which can be needed for secure protocols
+                  (sftp and ftps).
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="ftp-bus" substitutionGroup="jesb:bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A FTP-Bus is a specific instance of a bus using the FTP protocol.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:bus">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="ftp-provider" substitutionGroup="jesb:provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific instance of a provider, providing a ftp service.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:provider">
+               <xsd:attribute name="hostname" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The ftp hostname, as it can be resolved by DNS.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="ftp-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific listener using the ftp protocol.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+               <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The frequency with which this listener polls ftp server in
+                        seconds. Defaults to 10 seconds.
+                     </xsd:documentation>
+                  </xsd:annotation>
+                  <xsd:simpleType>
+                     <xsd:restriction base="xsd:integer">
+                        <xsd:minExclusive value="0"/>
+                     </xsd:restriction>
+                  </xsd:simpleType>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <xsd:element name="jms-message-filter">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A JMS filter can add information to a Queue, or Topic. For example you
-                can defined a message-selector. However, you can also push the queue name and type into this
-                filter given you did not already specify them in the jms-bus.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:attribute name="dest-name" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">Name of the Queue of Topic.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="dest-type" use="required">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">A Queue delivers a message once, a topic broadcasts a message to
-                        all registered listeners.
-                    </xsd:documentation>
-                </xsd:annotation>
-                <xsd:simpleType>
-                    <xsd:restriction base="xsd:NMTOKEN">
-                        <xsd:enumeration value="QUEUE"/>
-                        <xsd:enumeration value="TOPIC"/>
-                    </xsd:restriction>
-                </xsd:simpleType>
-            </xsd:attribute>
-            <xsd:attribute name="selector" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">A message-selector allows multiple listeners to register with the
-                        same queue/topic, but
-                        they will filter on this message-selector.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="jms-bus" substitutionGroup="jesb:bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A JMS-Bus is a specific instance of a bus using the JMS protocol.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:bus">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:jms-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="jms-provider" substitutionGroup="jesb:provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific instance of a provider, providing JMS.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:provider">
-                    <xsd:attribute name="connection-factory" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The connection-factory used to lookup queues/topics in a
-                                naming directory (JNDI)
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="jndi-context-factory" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The context factory class the JBossESB will use to do
-                                naming lookups.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="jndi-pkg-prefix" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The pkg-prefix which will be used to do naming lookups. It
-                                is left empty by default.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="jndi-URL" type="xsd:anyURI">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The URL used to do naming lookups.</xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="jms-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific listener using the jms protocol.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:jms-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+      SQL Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <xsd:element name="sql-message-filter">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A SQL filter.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:attribute name="tablename" use="required" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The table in which esb message are stored.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="message-id-column" use="optional" type="xsd:string" default="message_id">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">A unique key (PK) in the table.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="message-column" use="optional" type="xsd:string" default="message">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">The field that holds the serialized message.</xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="status-column" use="optional" type="xsd:string" default="status">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">This column contents ('P', 'W', 'E' or 'D') indicates if the row is
+                  pending (P), in process (W), in error(E) or done (D) if postDelete and/or errorDelete are 'true'
+                  rows might be deleted
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="insert-timestamp-column" use="optional" type="xsd:string" default="insert_timestamp">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">Holds the timestamp when the record was inserted.
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, records will be deleted after processing.((e.g. no rows
+                  with a 'D' for done, in column defined in 'status_column')
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+         <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
+            <xsd:annotation>
+               <xsd:documentation xml:lang="en">If true, records in error will be deleted after attempted picked up
+                  for processing.(e.g. no rows with a 'E' for error, in column defined in 'status_column')
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:attribute>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="sql-bus" substitutionGroup="jesb:bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A SQL-Bus is a specific instance of a bus using the SQL protocol.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:bus">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:sql-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="sql-provider" substitutionGroup="jesb:provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific instance of a provider, providing a db service.
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:provider">
+               <xsd:attribute name="url" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The url needed to connect to the db.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="driver" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The driver needed to connect to the db.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="username" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The username used to access the database.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+               <xsd:attribute name="password" use="optional" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The password used to access the database.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="sql-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">A specific listener using the ftp protocol.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener">
+               <xsd:sequence>
+                  <xsd:element ref="jesb:sql-message-filter" maxOccurs="1" minOccurs="0"/>
+               </xsd:sequence>
+               <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The frequency with which this listener polls the db in
+                        seconds. Defaults to 10 seconds.
+                     </xsd:documentation>
+                  </xsd:annotation>
+                  <xsd:simpleType>
+                     <xsd:restriction base="xsd:integer">
+                        <xsd:minExclusive value="0"/>
+                     </xsd:restriction>
+                  </xsd:simpleType>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             FS Type Implementations.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
-    <xsd:element name="fs-message-filter">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A FS filter.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:attribute name="directory" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file share that is monitored for incoming new files.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="input-suffix" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix used to filter files targeted for comsumption by
-                        the ESB (note: add the dot, so something like '.esbIn').
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="work-suffix" use="optional" type="xsd:string" default=".esbInProcess">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix used while the file is being process, so that
-                        another thread or process won't pick it up too.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, the file will be deleted after it is processed. Note that
-                        in that case post-directory and post-suffix have no effect.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-directory" use="optional" type="xsd:string" default="processed">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file share to which the file will be moved after it is
-                        processed by the ESB
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-suffix" use="optional" type="xsd:string" default=".esbDone">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after it is
-                        processed.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, the file will be deleted if an error occurs during
-                        processing. Note that in that case error-directory and error-suffix have no effect.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-directory" use="optional" type="xsd:string" default="processed">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file share to which the file will be moved after when an error
-                        occurs during processing.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-suffix" use="optional" type="xsd:string" default=".esbERROR">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after an error
-                        occurs during processing.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="fs-bus" substitutionGroup="jesb:bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A Fs-Bus is a specific instance of a bus using the File protocol.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:bus">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:fs-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="fs-provider" substitutionGroup="jesb:provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific instance of a provider, providing a file system (local fileshare
-                or NAS).
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:provider"/>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="fs-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific listener using the file protocol.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:fs-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                    <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The frequency with which this listener polls fs in seconds.
-                                Defaults to 10 seconds.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                        <xsd:simpleType>
-                            <xsd:restriction base="xsd:integer">
-                                <xsd:minExclusive value="0"/>
-                            </xsd:restriction>
-                        </xsd:simpleType>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+   JBoss Remoting Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <xsd:element name="jbr-bus" substitutionGroup="jesb:bus">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">JBoss Remoting Bus</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:bus">
+               <xsd:attribute name="port" use="required" type="xsd:int">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">JBoss Remoting Server listen port.</xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="jbr-provider" substitutionGroup="jesb:provider">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">JBoss Remoting Provider.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:provider">
+               <xsd:attribute name="protocol" use="required">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">Jboss Remoting Listener/Server protocol.
+                     </xsd:documentation>
+                  </xsd:annotation>
+                  <xsd:simpleType>
+                     <xsd:restriction base="xsd:NMTOKEN">
+                        <xsd:enumeration value="http"/>
+                        <xsd:enumeration value="socket"/>
+                     </xsd:restriction>
+                  </xsd:simpleType>
+               </xsd:attribute>
+               <xsd:attribute name="host" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">JBoss Remoting Server bind address. When not specified,
+                        defaults to InetAddress.getLocalHost().getHostName().
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
+   <xsd:element name="jbr-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">JBoss Remoting Listener.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             FTP Type Implementations.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
-    <xsd:element name="ftp-message-filter">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A FTP filter.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:attribute name="directory" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The ftp directory that is monitored for incoming new files.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="username" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The username used to access the ftp server</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="password" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The password used to access the ftp server.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="input-suffix" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix used to filter files targeted for comsumption by
-                        the ESB (note: add the dot, so something like '.esbIn').
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="work-suffix" use="optional" type="xsd:string" default=".esbInProcess">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix used while the file is being process, so that
-                        another thread or process won't pick it up too.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, the file will be deleted after it is processed. Note that
-                        in that case post-directory and post-suffix have no effect.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-directory" use="optional" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The ftp directory to which the file will be moved after it is
-                        processed by the ESB
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-suffix" use="optional" type="xsd:string" default=".esbDone">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after it is
-                        processed.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, the file will be deleted if an error occurs during
-                        processing. Note that in that case error-directory and error-suffix have no effect.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-directory" use="optional" type="xsd:string" default="processed">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The ftp directory to which the file will be moved after when an
-                        error occurs during processing.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-suffix" use="optional" type="xsd:string" default=".esbERROR">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The file suffix which will be added to the file name after an error
-                        occurs during processing.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="passive" use="optional" type="xsd:boolean">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">This is an ftp server setting which may vary per session.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="protocol" use="optional" default="ftp">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The protocol, can be sftp (SSH File Transfer Protocol), ftps (FTP
-                        over SLL) and ftp (to which it defaults).
-                    </xsd:documentation>
-                </xsd:annotation>
-                <xsd:simpleType>
-                    <xsd:restriction base="xsd:NMTOKEN">
-                        <xsd:enumeration value="ftp"/>
-                        <xsd:enumeration value="ftps"/>
-                        <xsd:enumeration value="sftp"/>
-                    </xsd:restriction>
-                </xsd:simpleType>
-            </xsd:attribute>
-            <xsd:attribute name="certificate-url" use="optional" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The url to a certificate, which can be needed for secure protocols
-                        (sftp and ftps).
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="ftp-bus" substitutionGroup="jesb:bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A FTP-Bus is a specific instance of a bus using the FTP protocol.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:bus">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="ftp-provider" substitutionGroup="jesb:provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific instance of a provider, providing a ftp service.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:provider">
-                    <xsd:attribute name="hostname" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The ftp hostname, as it can be resolved by DNS.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="ftp-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific listener using the ftp protocol.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:ftp-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                    <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The frequency with which this listener polls ftp server in
-                                seconds. Defaults to 10 seconds.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                        <xsd:simpleType>
-                            <xsd:restriction base="xsd:integer">
-                                <xsd:minExclusive value="0"/>
-                            </xsd:restriction>
-                        </xsd:simpleType>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
+   <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+   Groovy Gateway Type Implementations.
+   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+   <xsd:element name="groovy-listener" substitutionGroup="jesb:listener">
+      <xsd:annotation>
+         <xsd:documentation xml:lang="en">Groovy Listener.</xsd:documentation>
+      </xsd:annotation>
+      <xsd:complexType>
+         <xsd:complexContent>
+            <xsd:extension base="jesb:listener">
+               <xsd:attribute name="script" use="required" type="xsd:string">
+                  <xsd:annotation>
+                     <xsd:documentation xml:lang="en">The path (classpath) to the Groovy Gateway script. Or, the
+                        alias for the pre-packaged Groovy Gateway script.
+                     </xsd:documentation>
+                  </xsd:annotation>
+               </xsd:attribute>
+            </xsd:extension>
+         </xsd:complexContent>
+      </xsd:complexType>
+   </xsd:element>
 
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-             SQL Type Implementations.
-          88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
-    <xsd:element name="sql-message-filter">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A SQL filter.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:attribute name="tablename" use="required" type="xsd:string">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The table in which esb message are stored.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="message-id-column" use="optional" type="xsd:string" default="message_id">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">A unique key (PK) in the table.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="message-column" use="optional" type="xsd:string" default="message">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">The field that holds the serialized message.</xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="status-column" use="optional" type="xsd:string" default="status">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">This column contents ('P', 'W', 'E' or 'D') indicates if the row is
-                        pending (P), in process (W), in error(E) or done (D) if postDelete and/or errorDelete are 'true'
-                        rows might be deleted
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="insert-timestamp-column" use="optional" type="xsd:string" default="insert_timestamp">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">Holds the timestamp when the record was inserted.
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="post-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, records will be deleted after processing.((e.g. no rows
-                        with a 'D' for done, in column defined in 'status_column')
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-            <xsd:attribute name="error-delete" use="optional" type="xsd:boolean" default="true">
-                <xsd:annotation>
-                    <xsd:documentation xml:lang="en">If true, records in error will be deleted after attempted picked up
-                        for processing.(e.g. no rows with a 'E' for error, in column defined in 'status_column')
-                    </xsd:documentation>
-                </xsd:annotation>
-            </xsd:attribute>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="sql-bus" substitutionGroup="jesb:bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A SQL-Bus is a specific instance of a bus using the SQL protocol.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:bus">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:sql-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="sql-provider" substitutionGroup="jesb:provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific instance of a provider, providing a db service.
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:provider">
-                    <xsd:attribute name="url" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The url needed to connect to the db.</xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="driver" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The driver needed to connect to the db.</xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="username" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The username used to access the database.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                    <xsd:attribute name="password" use="optional" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The password used to access the database.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="sql-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">A specific listener using the ftp protocol.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener">
-                    <xsd:sequence>
-                        <xsd:element ref="jesb:sql-message-filter" maxOccurs="1" minOccurs="0"/>
-                    </xsd:sequence>
-                    <xsd:attribute name="poll-frequency-seconds" use="optional" default="10">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The frequency with which this listener polls the db in
-                                seconds. Defaults to 10 seconds.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                        <xsd:simpleType>
-                            <xsd:restriction base="xsd:integer">
-                                <xsd:minExclusive value="0"/>
-                            </xsd:restriction>
-                        </xsd:simpleType>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-    JBoss Remoting Type Implementations.
-    88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
-    <xsd:element name="jbr-bus" substitutionGroup="jesb:bus">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">JBoss Remoting Bus</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:bus">
-                    <xsd:attribute name="port" use="required" type="xsd:int">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">JBoss Remoting Server listen port.</xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="jbr-provider" substitutionGroup="jesb:provider">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">JBoss Remoting Provider.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:provider">
-                    <xsd:attribute name="protocol" use="required">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">Jboss Remoting Listener/Server protocol.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                        <xsd:simpleType>
-                            <xsd:restriction base="xsd:NMTOKEN">
-                                <xsd:enumeration value="http"/>
-                                <xsd:enumeration value="socket"/>
-                            </xsd:restriction>
-                        </xsd:simpleType>
-                    </xsd:attribute>
-                    <xsd:attribute name="host" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">JBoss Remoting Server bind address. When not specified,
-                                defaults to InetAddress.getLocalHost().getHostName().
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-    <xsd:element name="jbr-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">JBoss Remoting Listener.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener"/>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-
-    <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
-    Groovy Gateway Type Implementations.
-    88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
-    <xsd:element name="groovy-listener" substitutionGroup="jesb:listener">
-        <xsd:annotation>
-            <xsd:documentation xml:lang="en">Groovy Listener.</xsd:documentation>
-        </xsd:annotation>
-        <xsd:complexType>
-            <xsd:complexContent>
-                <xsd:extension base="jesb:listener">
-                    <xsd:attribute name="script" use="required" type="xsd:string">
-                        <xsd:annotation>
-                            <xsd:documentation xml:lang="en">The path (classpath) to the Groovy Gateway script. Or, the
-                                alias for the pre-packaged Groovy Gateway script.
-                            </xsd:documentation>
-                        </xsd:annotation>
-                    </xsd:attribute>
-                </xsd:extension>
-            </xsd:complexContent>
-        </xsd:complexType>
-    </xsd:element>
-
 </xsd:schema>




More information about the jboss-svn-commits mailing list