Re: [Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-22 Thread Krishantha Samaraweera
Framework doesn't allow you to start new server instance by changing configuration values. What you can do is start BAM server instance then edit the configuration at run time and restart the server. Please refer to the server restart test case at [1]. Note that server.startServer() will return th

Re: [Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-21 Thread Gihan Anuruddha
Basically my requirement is this. Change the particular value in data-bridge-config.xml before server start and verify I'm getting the same value in the runtime. Thanks, Gihan On Mon, Apr 22, 2013 at 12:23 PM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Do you want to restart the se

Re: [Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-21 Thread Krishantha Samaraweera
Do you want to restart the server after changing values. Thanks, Krishantha. On Mon, Apr 22, 2013 at 12:17 PM, Gihan Anuruddha wrote: > Hi, > > For one of the integration testing I need dynamically change the value in > data-bridge-config.xml. How do I proceed ? > > Thanks. > Gihan > > -- > --

[Dev] [Integration Testing] Dynamically change a value in configuration file

2013-04-21 Thread Gihan Anuruddha
Hi, For one of the integration testing I need dynamically change the value in data-bridge-config.xml. How do I proceed ? Thanks. Gihan -- --- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 ___ Dev mailing list Dev@wso2.org