incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Incubator Wiki] Update of "Synapse/SynapseXMLFormat" by PaulFremantle
Date Thu, 13 Apr 2006 10:29:55 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 PaulFremantle:

New page:
This is an effort to simplify and clarify the synapse.xml format

  <define name="xxx>

  <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 -->
    <!-- recommend deprecate service mediator -->
    <!-- recommend deprecate engage-addressing-in -->
    <useAddressingOut [version="uri"]/>
		<ref name="name"/> <!-- use the mediator defined above -->
			<xpath-test expr="xxxx" xmlns:a="uri"/>
			<xpath-value expr="xxxx" property="pname" xmlns:a="uri"/>
			<regexTest [to|from|action|replyto]="pattern"> (how do we check on generic properties)
			<setProperty="to|from|replyto|action" value="literal" registry="name" lookup="key" source-property="prop"/>
(how do we differentiate to and mc.setProperty("to")??
			<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"]/>
			<fault version="soap11|soap12">
			 <code value="literal" | source-property=""/>
			<log level="simple|headers|full"/>
			<initiateRM [version="uri"] [key="xxx"] [terminateTimeout="xxx"] [closeTimeout="yyy"]/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message