pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
747 stars 144 forks source link

Consumer for RPC response deserializes using known type #259

Closed glenthomas closed 2 years ago

glenthomas commented 7 years ago

Description

I am having problems with RPC where the responder is a java application (so no RawRabbit). The type of the response message is not returned by the responder (with a RawRabbit responder the type name would be included as a header in basicproperties.headers or in basicproperties.type). The requester does know the response type as a generic type argument, so am using that type argument for deserializing the response instead of trying to discover it from the message properties.

Check List

ChristianSauer commented 6 years ago

Hi, any feedback on this? I stumbled on this problem, too.