What is the easiest way to configure NServiceBus to allow NodaTime entities in XML-serialized messages?

StackOverflow https://stackoverflow.com/questions/21742518

  •  10-10-2022
  •  | 
  •  

سؤال

I would like to be able to use NodaTime entities in some NServiceBus messages, however, the built-in xml serialization does not support them. Is there are straight-forward way to add my own serializers for specific types as part of the endpoint configuration?

هل كانت مفيدة؟

المحلول

NServiceBus does not currently support that. You would have to replace the whole serializer.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top