Skip to main content
Version: 3.x

IMessageTypeResolver.OnConsumeAsync method

Returns the message type when consuming

public ValueTask<Type> OnConsumeAsync(IMessageContext context)
parameterdescription
contextThe IMessageContext containing the message and the metadata

See Also