Hi Daniel, We do not support changing the Synapse configuration in the runtime directly (for the moment) but we do have an indirect mechanism to change certain parts of the configuration by using the registry.
If you can define the changing part in to a sequence (can be one or more) then you can change that in the registry and see the changes applied to the configuration after the cache is expired (this expiry time can be configured). This behavior is explained in the sample 8 [1] and you can use this to update the configuration at runtime. If you want to add new mediators in the runtime (new custom mediators) that also can be done by uncommenting the following line in the axis2.xml before starting synapse. <!-- Mediator deployer ***** Uncomment the following line to enable hot deployment of mediators ***** --> <!--<deployer extension="jar" directory="mediators" class=" org.apache.synapse.core.axis2.MediatorDeployer"/>--> after starting synapse you can create a folder named mediators in the repository folder of the synapse distro and put the mediator jar file in there, so that Synapse will pick it up at the runtime. If you need any assistance in getting this done let us know the issues you are facing if there are any... At the same time you can have a look at the WSO2-ESB [2] which is an admin console to Synapse, and allows you to change the full configuration at runtime. [1] - http://ws.apache.org/synapse/Synapse_Samples.html#Sample8 [2] - http://wso2.org/projects/esb/java Thanks, Ruwan On 10/10/07, Daniel Pereda <[EMAIL PROTECTED]> wrote: > > Hi, > i was wondering if exists any way to re-charge the synapse configuration > file (or add new one) without restart the server to add new mediators. > I'm trying to build an application that take a composed service and > register mediators for all the services used in the composed service in > synapse. > > Exists any chance to do this? > > Regards! > > -- > A/C Daniel Pereda > Mobility Solutions - http://www.mobilitysol.com > Fco. Araucho 1362, oficina 105, Montevideo, URUGUAY > Móvil (+598) 96 199 105 > Teléfono (+598 2) 707 37 95, int 101 > Fax (+598 2) 707 37 95, int 123 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ruwan Linton http://www.wso2.org - "Oxygenating the Web Services Platform"
