When configuring the receive endpoint, whilst it is possible to configure a consumer for generic type messages, there doesn’t appear to be any way to configure the message topology for a generic type message. The only method on IReceiveEndpointConfigurator
is ConfigureMessageTopology<T>(book enabled = true)
Does anyone no away around this?
The only way I can get around this is to use reflection, but that is an ugly solution.