Specification of preferred converters should be reconsidered
From my point of view, the specification of preferred converters may be conceptually at the wrong level (currently at the level of transports).
Considering Listeners, they should receive the same data type, irrespective of the used transport. If there are several converters for a specific wire-schema, a preference needs to be given at the level of the Participant.
Considering Informers, there might be different wire-schemas to be used for different connectors. Hence, here the configuration at the transport level is sensible.
Hence, there is a need to handle in and out connectors differently!
Also, there should be an application-wide (default) converter preference, which should be used as args to rsb::converter::Repository::getConvertersForDeserialization and getConvertersForSerialization instead of the undecided default. The mentioned methods are used all over the framework and will fail if ambiguous converters are registered.
This application-wide default should be initialized from the rsc config system before the plugin system can register converters. This will allow meta converters (that use other converters to extract stuff, e.g. EventsByScopeMapConverter) to be correctly registered when ambiguous converters already exist. Otherwise success depends on load order!
#1 Updated by R. Haschke about 8 years ago
- Priority changed from Normal to High
Any feedback on this?
#2 Updated by R. Haschke about 8 years ago
- Related to Enhancement #2149: Provide simple API to programmatically set preferred converters added
#3 Updated by J. Wienke almost 8 years ago
- Target version changed from rsb-0.12 to rsb-0.13
#4 Updated by J. Moringen about 7 years ago
- Target version changed from rsb-0.13 to rsb-0.14
#5 Updated by J. Moringen almost 7 years ago
- Target version changed from rsb-0.14 to rsb-0.15
#6 Updated by J. Moringen over 6 years ago
- Target version changed from rsb-0.15 to rsb-0.16
#7 Updated by J. Moringen almost 6 years ago
- Target version changed from rsb-0.16 to rsb-0.17
#8 Updated by J. Moringen over 5 years ago
- Subject changed from specification of preferred converters should be reconsidered to Specification of preferred converters should be reconsidered
- Target version changed from rsb-0.17 to rsb-0.18