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/SynapseXMLFormat" by Asankha Perera
Date Thu, 07 Dec 2006 12:05:48 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 Asankha Perera:
http://wiki.apache.org/incubator/Synapse/SynapseXMLFormat

The comment on the change is:
no longer relevant

------------------------------------------------------------------------------
- = *** Attn: This document is DEPRECATED Check http://incubator.apache.org/synapse/ for updated
information *** =
+ deleted
  
- This is an effort to simplify and clarify the synapse.xml format
- 
- {{{
- <synapse>
-   <define name="xxx>
-     <mediator>....<mediator>
-   </define>
- 
-   <registry class="org.some.class.implementing.Registry" location="url"/> <!--
exactly one to start with -->
- 
-   <property name="x">el</property> * <!-- these properties are global to
the environment -->
- 	
-   <rules> <!-- this defines the main mediator -->
- 	
-     <import location="url"/> <!-- this looks up the XML at the location. The XML
must have a <rules> tag. Any children are imported here. -->
-     <registryImport key="uri"/> <!-- this looks up the key in the registry and
imports the XML from the registry at this point -->
- 			
- 			
-     <mediator class="x">
-       <property name="x">el</property> ?
-       <import /> ?
-       <registryProperties key="uri"/> <!-- this looks up Properties in the registry
with the key and sets them onto the mediator -->
-     </mediator>
- 			
-     <!-- recommend deprecate service mediator -->
-     <!-- recommend deprecate engage-addressing-in -->
- 			
-     <useAddressingOut [version="uri"]/>
- 			
-     <ref name="name"/> <!-- use the mediator defined above -->
- 					
-     <in/>
-     <out/>
-     <infault/>
-     <outfault/>
- 			
-     <xpathFilter expr="xxxx" xmlns:a="uri"/>  <!-- tests the given xpath -->
		
-       <mediator/> *
-     </xpathFilter>
- 			
-     <xpathValue expr="xxxx" property="pname" xmlns:a="uri"/> <!-- sets property
pname in the message context with the value of the xpath -->
- 			
-     <regexFilter [to|from|action|replyto]="pattern"> 
-        <mediator/> *
-     </regexTest>
- 			
-     <setProperty="to|from|replyto|action" value="literal" registry="name" key="uri" sourceProperty="prop"/>

-     <!-- either value, | registry+key | sourceProperty -->
- 			
-     <addHeader>element</addHeader>
-     <removeHeader qname="a:b" xmlns:a="uri"/>
- 			
-     <xslt location="my.xsl" target="body|envelope"/>  // add xsl extension to make
context properties available
- 			
-     <script [src="xxx" language="yyy"]/>
- 	[CDATA]
-     </script> 
- 			
-     <fault version="soap11|soap12">
-       <code value="literal" | source-property=""/>
-       <reason>
-       <node>
-       <role>
-       <detail>
-     </fault>
- 			
-     <drop/> 
- 			
-     <log level="simple|headers|full"/>
- 			
-     <send/>
-   </rules>
- 	
- </synapse>
- }}}
- 

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


Mime
View raw message