Dear Wiki user,

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

The following page has been changed by DavanumSrinivas:
http://wiki.apache.org/ws/Synapse

------------------------------------------------------------------------------
    }
  }}}
  
- == Synapse implementation using Axis2 ==
+ == Synapse implementation using Axis2 (Option #1) ==
   1. Rule matching engine will be implemented as a module
   2. The Rule Matching Handler in Rule matching module will be configured as 
the first
   3. One Single Dummy Synapse Service with fixed dispatch (using a Synapse 
Dispatcher)
@@ -61, +61 @@

   6. Message Receiver will call instances of mediators as needed
   7. Control will be sent back to Rule matching engine to kick off the next 
rule.
  
+ 
+ == Synapse implementation using Axis2 (Option #2) ==
+  1. Rule matching engine will be implemented as a Dispatcher
+  2. There are no global modules
+  3. Build a chain of modules for each Rule
+  4. One Single Dummy Synapse Service 
+  5. There is a Synapse Message Receiver at the end
+  6. Message Receiver will call instances of mediators as needed
+  7. Control will be sent back to Rule matching Dispatcher to kick off the 
next rule.
+ 
+ == Trade Offs == 
+  Advantage of  Option #2 is that we can set up the chains for each rule and 
cache it. Option #1 we have to set up chains every time.
+ 

Reply via email to