Bringing converters to TriggerBindingRule
Opened this issue · 0 comments
yojagad commented
-
RabbitMQExtensionBindingConfigProvider binds using pattern
triggerRule.BindToTrigger
instead oftriggerRule.BindToTrigger<BasicDeliverEventArgs>
. -
The former does not fire up converters, so worked around that by using a ValueProvider that takes in a destinationType and does conversions accordingly.
-
The latter pattern works fine for dotnet scenarios but for out-of-proc, it messes up the
_defaultType
and fires theBasicDeliverEventArgsToPocoConverter
, even if a simple string is expected. This is due toTriggerAdapterBindingProvider
overriding thedefaultType
based on priority regardless of what therequestedType
is.