Hi Stefan,

stlecho wrote:
> Would it be feasible to implement a specific "DeployIntoRegistry" Ant task
> that allows to deploy a modified synapse.xml and automatically trigger the
> modified file (through calls to the registry API) ?
>   
If you put the full synapse.xml file in the registry then it is not 
dynamic, but if you put the dynamic bits of your configuration to the 
registry and somehow write an ant task to update the registry that will 
work for you. As a side note please remember that proxy definition is 
not dynamic and cannot be referred from the registry, but its parts can be.

Thanks,
Ruwan
> Regards, Stefan Lecho.
>
> asankha wrote:
>   
>> Paul / Stefan
>>
>> You could upto a certain level. Samples 9 and 11 shows some of this. But 
>> this cannot be triggered by an Ant script.
>>
>> [1] http://wso2.org/project/esb/java/1.7.1/docs/ESB_Samples.html#Sample9
>> [2] http://wso2.org/project/esb/java/1.7.1/docs/ESB_Samples.html#Sample11
>>
>> asankha
>>
>> Paul Fremantle wrote:
>>     
>>> Asankha
>>>
>>> Can't Stefan do this using the registry model?
>>>
>>> Paul
>>>
>>> Asankha C. Perera wrote:
>>>   
>>>       
>>>> Stefan
>>>>
>>>> What you are not trying is currently not supported as we allow one to 
>>>> update the configuration using the UI. However, we could expose this 
>>>> functionality as a command line utility in time for your production 
>>>> deployment of the ESB, if this is urgent for you.
>>>>
>>>> asankha
>>>>
>>>> stlecho wrote:
>>>>     
>>>>         
>>>>> Indika,
>>>>>
>>>>> I'm not using the UI, but I copy the synapse.xml file through an ant
>>>>> script.
>>>>> When changing a parameter - for instance transport.mail.Address - and
>>>>> copying to %WSO2ESB%/webapp/web-inf/classes/conf, the modification is
>>>>> not
>>>>> used.
>>>>>
>>>>> Regards, Stefan.
>>>>>
>>>>> indika kumara-2 wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Hi
>>>>>>
>>>>>> You never want to restart WSO2ESB. Just put synape.xml into 
>>>>>> configuration section and update it. Even, you update any single 
>>>>>> component through UI, its new changes always reflect immediately. If
>>>>>> you 
>>>>>> want to get update after some period, you can put each component 
>>>>>> definition in the registry with proper cacheable duration.
>>>>>>
>>>>>> Thanks
>>>>>> Indika
>>>>>>
>>>>>> stlecho wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> Hi,
>>>>>>>
>>>>>>> Is it possible to hot-deploy synapse.xml, i.e. without
>>>>>>> stopping/starting
>>>>>>> WSO2ESB ?
>>>>>>>
>>>>>>> Regards, Stefan Lecho.
>>>>>>>   
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>> No virus found in this incoming message.
>>>>>>> Checked by AVG - http://www.avg.com 
>>>>>>> Version: 8.0.169 / Virus Database: 270.6.21/1673 - Release Date:
>>>>>>> 9/15/2008 6:49 PM
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>> _______________________________________________
>>>>>> Esb-java-user mailing list
>>>>>> [email protected]
>>>>>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>>
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Esb-java-user mailing list
>>>> [email protected]
>>>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> Esb-java-user mailing list
>> [email protected]
>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>
>>
>>     
>
>   


_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to