You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context.Pipeline.Register("DeserializeLogicalMessagesConnector",newDeserializeMessageConnector(resolver,logicalMessageFactory,messageMetadataRegistry,mapper,allowMessageTypeInference),"Deserializes the physical message body into logical messages");
57
-
context.Pipeline.Register("SerializeMessageConnector",newSerializeMessageConnector(defaultSerializer,messageMetadataRegistry),"Converts a logical message into a physical message");
57
+
context.Pipeline.Register("SerializeMessageConnector",newSerializeMessageConnector(mainSerializer,messageMetadataRegistry),"Converts a logical message into a physical message");
varnoDefaultSerializerMsg=$"Because no message serializer was selected, the default {nameof(XmlSerializer)} will be used instead. In a future version of NServiceBus the {nameof(XmlSerializer)} will no longer be the default. For better forward compatibility, either choose a different message serializer, or make the choice of XML serialization explicit using endpointConfiguration.{nameof(SerializationConfigExtensions.UseSerialization)}<{nameof(XmlSerializer)}>()";
thrownewException($"A serializer has not been configured. Use 'EndpointConfiguration.{nameof(SerializationConfigExtensions.UseSerialization)}()' to specify a serializer.");
0 commit comments