System components are defined as StartableEntities. EntityPublisher pulishes strat commands and ConfiguratorComponent starts the actual components.
Is this kind of dynamic setup needed? There have been several issues with the Spring and Camel contexts already - sharing (or not sharing) beans, routes and services; too many started camel context etc.
Figure out flexible and efficient approach for the system components.
System components are defined as
StartableEntities
.EntityPublisher
pulishes strat commands andConfiguratorComponent
starts the actual components.Is this kind of dynamic setup needed? There have been several issues with the Spring and Camel contexts already - sharing (or not sharing) beans, routes and services; too many started camel context etc.
Figure out flexible and efficient approach for the system components.