Hello,

I'm just begining with avalon-merlin and I'm really stuck with a service 
configuration problem. I know merlin is being discontinued but I'm just trying 
to learn the basics for now.

I have a container myContainer that exports a service myService and a consumer 
container (myConsumerContainer) that declares some components wich depend on 
myService. Is it possible to modify the configuration _of myService_ from the 
myConsumerContainer block.xml for each dependent component?

As far as I now, I could write a "target" directive under the "include" of 
myContainer and override the default configuration of myService. That's ok but 
it raises a problem if more than one component depends on myService, each of 
them needing myService to be configured in a specific way.

Maybe I shouldn't use the service approach if a different configuration is 
needed for each consumer component?

Thanks for any info

Reply via email to