To make transition from NServiceBus MSMQ to ReBus as much painless as possible.
Configure.With(...)
.Serialization(s => s.UseXmlSerializing(settings))
//...
Message body sent to queues
//$type - TestMessage object
{
"GuidProp": "0576a0cd-13c7-4dc2-a74b-4e7419213f5a",
"EnumProp": 1,
"DateTimeProp": "2020-12-11T00:20:11.8711501"
}
⬇️ ⬆️
<?xml version="1.0"?>
<Messages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://tempuri.org/ReBus.Serializer.XML.UnitTests.Messages">
<TestMessage>
<GuidProp>0576a0cd-13c7-4dc2-a74b-4e7419213f5a</GuidProp>
<EnumProp>Success</EnumProp>
<DateTimeProp>2020-12-11T00:20:11.8711501</DateTimeProp>
</TestMessage>
</Messages>
This serializer does not support serialization/deserialization of collections.
It would be great if you guys would help me improve this or bring up any issues. I will work on them in free time.