You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera" <as...@wso2.com> on 2006/12/18 12:39:29 UTC

Thinking out loud on the possibility to replace the main mediator with a sequence named 'main'

Currently a Synapse configuration forces a 'main' mediator specified 
with the <rules> tags as follows:

 <synapse>
   registrydef
   <definitions>
     (sequencedef | endpointdef | literalpropertydef)+
   <definitions>?
   <proxies>
     proxyservice+
   </proxies>?
   <rules [key="string"]>
     mediator*
   </rules>
 </synapse>

I am thinking that if we make the main mediator (sometimes referred to 
as the Synapse rules) a sequence with a well known name (e.g. main) it 
might make things simpler...i.e a Synapse configuration would then 
contain an optional registry definition, followed by sequence, endpoint 
and property definitions and proxy services.

thoughts?

asankha

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org