Add possibility to override global configuration per remote
Benefits:
* connection parameters can be fine tuned per-remote (there is no need
to specify lengthy timeouts for every endpoint when only one is
particularly slow) - the following parameters could be redefined:
connectionTimeout
socketTimeout
maxTries
retryInterval
* as a bonus RemoteConfig contains the following methods public:
getGlobal (to return global configuration)
getEffective (to return effective configuration per remote)
getName (to return remote name so that further parameters can be
reached)
in order to enable further configuration extension in EventProcessor
implementations.
Change-Id: I3ade3cd5c103d5810ecc8dd3bc0446e9ac81abbd
Originally-authored-by: Stephen Elsemore <selsemore@collab.net>
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
6 files changed