Very cool, thanks Hiranya this is very valuable. Now we can switch the default behaviour to look at the synapse-config directory.
Thanks, Ruwan On Mon, Aug 10, 2009 at 3:20 PM, Hiranya Jayathilaka <[email protected]>wrote: > Hi Devs, > > I have implemented the ability to read a synapse.xml file in a specified > directory and load the configuration. This functionality is now available in > the trunk and the 1.3 branch. Related documentation and samples are also > updated. > > Thanks, > Hiranya > > > > On Mon, Aug 10, 2009 at 11:24 AM, Hiranya Jayathilaka < > [email protected]> wrote: > >> It should be easy to read a synapse.xml file from the specified directory. >> I will make that enhancement right away. >> >> Thanks, >> Hiranya >> >> >> On Mon, Aug 10, 2009 at 11:17 AM, Ruwan Linton <[email protected]>wrote: >> >>> Folks, yet another proposal :-) >>> >>> Shall we make the hierarchical directory based synapse configuration to >>> be the default configuration mechanism? It will give Synapse many advantages >>> while we can make it have no disadvantages by supporting a synapse.xml file >>> inside the root of the configuration hierarchy. >>> >>> So what I am proposing is that we create the >>> repository/conf/synapse-config/ directory by the build and treat that as the >>> synapse configuration root which will have sup directories to hold >>> individual artifacts like sequences, endpoints and so on. At the same time >>> we should support a synapse.xml file to be embeded with multiple elements in >>> the configuration root (in this case the direcotry "synapse-config") >>> supporting the existing behaviour. >>> >>> With this we can get rid of the registry.xml and the local-entries.xml >>> files that we have on the configuration root and bring them into the >>> synapse.xml itself. >>> >>> This would make the configuration nicely placed with different levels as >>> well as supporting the flat file at the same time by default. >>> >>> WDYT? >>> >>> Thanks, >>> Ruwan >>> >>> -- >>> Ruwan Linton >>> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb >>> WSO2 Inc.; http://wso2.org >>> email: [email protected]; cell: +94 77 341 3097 >>> blog: http://ruwansblog.blogspot.com >>> >> >> >> >> -- >> Hiranya Jayathilaka >> Software Engineer; >> WSO2 Inc.; http://wso2.org >> E-mail: [email protected]; Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> > > > > -- > Hiranya Jayathilaka > Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: [email protected]; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > -- Ruwan Linton Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb WSO2 Inc.; http://wso2.org email: [email protected]; cell: +94 77 341 3097 blog: http://ruwansblog.blogspot.com
