...
Table of Contents |
---|
Dynamic extensions loading allows to add selected extension to OpenHub application independently by each other.
...
0) Prerequisite - extension configuration loader must be initialized
Code Block | ||
---|---|---|
| ||
/** * OpenHub extensions loader where extensions are defined <bean class="org.openhubframework.openhub.core.common.extension.PropertiesExtensionConfigurationLoader" depends-on="camelContext"> <constructor-arg ref="confProperties"/> </bean>in properties. * Relevant properties are with '{@value #PROPERTY_PREFIX}' prefix. */ @Service @DependsOn("camelContext") public class PropertiesExtensionConfigurationLoader extends AbstractExtensionConfigurationLoader { |
1) add Maven dependency to specific extension
...