incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Incubator Wiki] Update of "Synapse/SynapseConfigurationLanguage" by SanjivaWeerawarana
Date Tue, 25 Apr 2006 16:31:01 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Incubator Wiki" for change notification.

The following page has been changed by SanjivaWeerawarana:
http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage

------------------------------------------------------------------------------
  
  
  
- === Examples ===
+ == Examples ==
  
  The sample configuration presented below applies in the following hypothetical scenario.
Assume that two web service endpoints exists, where registration requests could be processed.
Requests may fall into Gold and Silver categories, and a specialized endpoint exists to process
the Gold requests. If the Gold endpoint cannot be reached for whatever reason, requests should
be processed via the Silver endpoint (i.e. failover).
  
@@ -216, +216 @@

  {{{
    <synapse>
      <definitions>
-   
        <sequence name="registration_flow">
          <validate schema="http://registry/xsd/registration.xsd" source="//regRequest">
            <on-fail>
@@ -252, +251 @@

        <endpoint name="gold_registration" address="http://gold/registration"/>
        <endpoint name="silver_registration" address="http://silver/registration"/>
    
-       <property>
-         <set-property name="reg_app" value="Registration Application"/>
+       <set-property name="reg_app" value="Registration Application"/>    
-       </property>
-       
-     <definitions>
+     </definitions>
    
      <rules>
        <switch source="synapse:get-property('to')">

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message