-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
-
Most configurations are similar: oftentimes only the transport (TCP or UDP) and the discovery protocol are different. It would therefore be nice to configure the 2 default transports in separate files, and include them from other configurations.
This way, changes / optimizations to transports would not have to be copied to all configurations, but would be done only in a single file.
Example:
<include file="${transport-config:tcp-default.xml}" /> <MPING /> ...
This includes tcp-default as transport in a configuration. Note that if system property transport-config was set, this would allow for dynamic inclusion of different transports.
See how this works in practice, and possibly add more functionality, e.g. (inspired by Infinispan)
- Add protocols at a given location
- Remove a protocol
- Add/remove/replace attributes