Enum JsonMessageDeserializerTypeHeaderBehavior
- Namespace
- Silverback.Messaging.Serialization
- Assembly
- Silverback.Integration.dll
Specifies how the IMessageDeserializer has to deserialize according to the message type header.
public enum JsonMessageDeserializerTypeHeaderBehavior
Fields
Ignore = 2Ignore the type header and deserialize according to the configured message type.
Mandatory = 1Throw an exception if the consumed message doesn't specify the message type header.
Optional = 0Use the message type header if specified, otherwise use the configured message type.