Skip to main content
Version: 3.x

DeserializerConsumerMiddleware.Invoke method

Deserializes the message using the passed serialized

public Task Invoke(IMessageContext context, MiddlewareDelegate next)
parameterdescription
contextThe IMessageContext containing the message and metadata
nextA delegate to the next middleware

Exceptions​

exceptioncondition
InvalidOperationExceptionThrow if message is not byte[]

See Also​