There are two ways to implement this.

1. We can simply read the configuration from the file system and them
override the current synapse configuration with the sample
configuration. This leads to the destruction of current configuration.

2. The second approach is to build the synapse configuration from the
beginning. This includes initializing the persistence again to fit the
sample etc. This preserves the current ESB configuration.

I prefer the second approach.

Thanks,
Supun..

On Mon, Aug 16, 2010 at 9:14 AM, Samisa Abeysinghe <[email protected]> wrote:
> It would be a good idea to try and make these samples more real world. The
> current ESB samples are all related to stock quote. But it might be a good
> idea to see what Shelan did and re-use some of those.
>
> On Mon, Aug 16, 2010 at 9:01 AM, Ruwan Linton <[email protected]> wrote:
>>
>>  To add a bit of context this is going to be useful for a person who
>> wants to try out the ESB samples on stratos.
>>
>> We will have a set of sample configurations listed as the security
>> templates in the security wizard and users can load those sample
>> configurations to test those.
>>
>> To make it work seamlessly we might need to add some sample services to
>> the cloud application server as well. Hope that is OK. :-)
>>
>> Ruwan
>>
>> On 8/16/10 8:07 AM, Supun Kamburugamuva wrote:
>> > Hi All,
>> >
>> > I've started working on a new Carbon Component for ESB to load the
>> > samples from the UI.
>> >
>> > For example user can start the ESB normally and then load a sample
>> > configuration by choosing the samples number.
>> >
>> > Thanks,
>> > Supun...
>> >
>> > _______________________________________________
>> > Carbon-dev mailing list
>> > [email protected]
>> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>> >
>>
>>
>> --
>> Ruwan Linton
>> Software Architect&  Product Manager, WSO2 ESB; http://wso2.org/esb
>> WSO2 Inc.; http://wso2.com
>>
>> Lean . Enterprise . Middleware
>>
>> phone: +1 408 754 7388 ext 51789
>> email: [email protected]; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>> linkedin: http://www.linkedin.com/in/ruwanlinton
>> tweet: http://twitter.com/ruwanlinton
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
>
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to