Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Abstract:
Add support for external services configuration at runtime.
Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
This could be done with a property file (per deployment unit).
Details:
This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
The ProcessConf interface has a method Map<String, String> getProperties(String...).
This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
Default Implementation
The default implementation will use the first two parameters as service name and port name.
This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.
Attachments
Attachments
Issue Links
1.
|
update doc/javadoc | Resolved | Alexis Midon |