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/Architecture" by PaulFremantle
Date Wed, 12 Apr 2006 10:24:20 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:
http://wiki.apache.org/incubator/Synapse/Architecture

------------------------------------------------------------------------------
   * Leaf mediators – i.e. mediators that actually do something like logging the message.
  
  Each mediator (see org.apache.synapse.api.Mediator) must be thread-safe as many messages
may be simultaneously sent through the same instance of a mediator. 
+ It is up to the implementor of the mediator to ensure it is threadsafe. 
  
   1. Mediators are effectively JavaBeans which implement the mediate() interface. 
-  2. Any properties on a mediator are set() on them using the appropriate method. For example
the list of sub-mediators is set on a ListMediator by calling setList(List mediators). 
+  1. Any properties on a mediator are set() on them using the appropriate method. For example
the list of sub-mediators is set on a ListMediator by calling setList(List mediators). 
+  1. The properties on a mediator are set before any mediate messages are passed through
it. The properties are not per-message. 
-  3. Mediators are independent of any XML configuration format. There is an XML configuration
format but it is just one potential way of configuring those mediators. 
+  1. Mediators are independent of any XML configuration format. There is an XML configuration
format but it is just one potential way of configuring those mediators. 
  
  The simplest way of configuring mediators is simply the Java ''new'' instantiation. A key
design point of Synapse is that there is a programmatic way of instantiating a Synapse instance
(This is analogous to the Axis2 model where you can create an empty configuration and populate
it). 
  
@@ -160, +162 @@

  The registry is accessed through a “Registry” interface:
  
  {{{
- public interface SynapseRegistry {
+ public interface Registry {
  	OMElement getXML(String uri);
  	String getURI(String uri);
  	String getString(String uri);
@@ -192, +194 @@

  
  The SynapseEnvironment allows multiple “metric” providers to be used. For example, a
simple internal system may be used, or a more extensive JMX or WSDM based system may be plugged
in via this model. The metric provider is plugged in through the MetricFactory interface.
   
- === Events ===
+ === Events (work in progress) ===
  
  Another important aspect of an ESB/Mediation fabric is the concept of an event. For example,
a typical model is that a mediation engine may generate events – for example – if a failure
occurs, or a large transaction goes through.
  

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


Mime
View raw message