Hi All,
I'm working on providing support for yaml based configuration in MB4 based
on the C5 model.

In C4, we had a component in the Andes to read configurations from the
broker.xml file. With the C5 model, there will be only one config
(deployment.yaml) and components can define their own configs with an
object model using a unique namespace.

So, where should we add the configuration models in MB4?

   1. We cannot add in Carbon-business-messaging(CBM) component since this
   will introduce a circular dependency with the Andes component, because
   Andes also need to read configurations and CBM already depends on Andes.
   2. We can add the configs in Andes component. This is the existing
   architecture. But, since we have plans to keep Andes only as the client in
   the future, it will look ugly too when CBM component is reading configs via
   Andes.
   3. We can separate the configurations with two namespaces (broker,andes)
   and keep the respective configuration models in both places. However, the
   configs will end-up in the same deployment.yaml file with different
   namespaces.

I would prefer the third option. Because eventually, we will have to do
this any way, to separate out the client and broker configs.

Please share your thoughts.

Regards,
Vinod




Vinod Kavinda
Senior Software Engineer
*WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
[image: http://wso2.com/signature]
<http://wso2.com/signature>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to