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/RegistryAccessThoughts" by PaulFremantle
Date Thu, 29 Jun 2006 18:00:36 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/InProgress/RegistryAccessThoughts

------------------------------------------------------------------------------
    <property name="prop-for-HTTPRegistry" value="...">
  </syn:registry>
  }}}
+ 
+ At the moment the properties in our config 
+ {{{
+ <property name="" value=""/>
+ }}}
+ 
+ are 
+  1. only strings
+  1. only loaded from this XML (i.e. not pulling in an external resource)
+ 
+ This proposes changing this. Instead of having each mediator pull XML config or metadata
in its own way, we can extend the properties to support XML, and then have the mediators grab
the XML from the "in-memory" registry.
+ 
+ {{{
+ mediator <== property <== (value | inline | src | lookup)
+ }}}
+ 
+ So here is the enhanced property xml:
+ 
+ {{{
+  <property name="foo" [value="string"] [src="url to XML"] [key="string-key"]>
+    <inline-xml/>
+  </property>
+ }}}
+ 
+ Note that the particular approach of '''<property name="" key=""/>''' is really just
an aliasing mechanism.
+ 
+ If you specify a key then it will lookup the entry *whenever* you use it. Of course we will
optimize cache etc this. 
+ 
  
  
  

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


Mime
View raw message