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/InProgress/SynapseConfigurationLanguage" by Asankha Perera
Date Thu, 06 Jul 2006 05:45:52 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/InProgress/SynapseConfigurationLanguage

The comment on the change is:
Update proxy services definition

------------------------------------------------------------------------------
  The <definitions> section defines reusable elements that can be used from within the
rules, and the <rules> section contains the sequence of mediators that every message
passes through during mediation.
  
  === Proxy services ===
- The <proxies> section defines Synapse Proxy services, which are real Axis2 services
hosted on Synapse, which allows WSDL mediation as well as the ability to expose existing services
on Synapse, with possibly different semantics, such as WS-Security, WS-RM and Transport switching.
+ The <proxies> section defines Synapse Proxy services, which are real Axis2 services
hosted on Synapse, which allows WSDL mediation as well as the ability to expose existing services
on Synapse, with possibly different semantics, such as WS-Security, WS-RM and Transport switching
etc.
  
  A proxyservice token represents a <proxy> element which is used to define a Synapse
Proxy service.
  {{{
+ 	<proxy name="string" [description="string"] [transports="(http|https|jms)+|all"]>
+ 	  <target sequence="name" | endpoint="name"/>?   // default is main sequence
-   <proxy name="string" type="wsdl|jms|rest" [description="string"]>
-     <endpoint protocol="http|https|jms|mail|tcp" uri="uri"/>
-     <target (endpoint="string"|sequence="string")/>?
-     <wsdl url="url"/>?
+ 	  <wsdl url="url">?
+ 	  <schema url="url">*
-     <policy url="url"/>*
+ 	  <policy url="url">*
+ 	  <property name="string" value="string"/>*
-   </proxy>
+ 	</proxy>
  }}}
  
- A proxy service with the given endpoint->uri is created and exposed on the list of endpoint->protocols
on the underlying Axis2 instance. (Note: that currently Axis2 does not allow custom URI's
to be set for services.) The Proxy service could be a WS, JMS or REST service, and must define
the target for received messages as a named sequence or endpoint. If a target is not supplied,
the default Synapse rules will apply for message mediation.
+ A proxy service is created and exposed on the specified transports through the underlying
Axis2 instance, exposing service EPR's as per the standard Axis2 conventions. (Note: that
currently Axis2 does not allow custom URI's to be set for services on some transports.) The
Proxy service could be exposed over all enabled Axis2 transports such as http, https, JMS
etc. or on a subset of these. Each service could define the target for received messages as
a named sequence or a direct endpoint. If a target is not supplied, the default Synapse rules
will apply for message mediation. Any supplied policies would apply as service level policies,
and any properties could be passed into the proxy services' AxisService instance (e.g. the
JMS destination etc)
  
  ==== Sequences ====
  
@@ -271, +272 @@

  
  ==== Spring mediator ====
  {{{
-    <spring bean="exampleBean1" (config="spring1" | src="spring.xml)"/>
+    <spring:spring bean="exampleBean1" (config="spring1" | src="spring.xml)"/>
  }}}
  The <spring> element creates an instance of a mediator, which is managed by Spring.
This Spring bean must implement the Mediator interface for it to act as a Mediator. If a config
attribute is specified, the bean will refer to the Spring configuration with the given name
as its bean factory. If a src attribute specifies the Spring configuration file, the required
application context is created inline and will be used by the mediator instance.
  
@@ -617, +618 @@

    </definitions>
  
    <rules>
-   	<spring bean="springtest" config="springconfig"/>
+   	<spring:spring bean="springtest" config="springconfig"/>
-   	<spring bean="springtest" src="./../../repository/conf/sample/springsample.xml"/>
+   	<spring:spring bean="springtest" src="./../../repository/conf/sample/springsample.xml"/>
    
  

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


Mime
View raw message