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