On Wed, Feb 2, 2011 at 10:10 AM, Jan Sudeikat <[email protected]> wrote: > Hello all, > > I am searching for means to dynamically adjust the initial composition of > services at run-time. > For example, I would like to add new bindings of services or change the > targets of references. > > Is the composition, given in the .composite file, static or can it be > changed at run-time ? > > I'd appreciate any hints or comments. > > Thanks in advance, > Jan >
Hi Jan We only currently support a small amount of dynamic behaviour for running composites at the moment. To change a composite in terms of binding configuration and reference targets you'll need to redeploy and restart the composite in question at the moment. The runtime should currently pick up changed target endpoints when using binding.sca if you stop a service and restart it somewhere else. On a different machine for example. We haven't talked about dynamic updates for a while but if you're interested (particularly if you were interested in getting involved in implementing it) we could start that discussion over on the dev list. Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
