C# Class NServiceBus.Transport.IncomingMessage

The raw message coming from the transport.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
IncomingMessage ( string messageId, string>.Dictionary headers, byte body ) : System

Creates a new message.

Private Methods

Method Description
RevertToOriginalBodyIfNeeded ( ) : void

Makes sure that the body is reset to the exact state as it was when the message was created.

UpdateBody ( byte updatedBody ) : void

Use this method to update the body if this message.

Method Details

IncomingMessage() public method

Creates a new message.
public IncomingMessage ( string messageId, string>.Dictionary headers, byte body ) : System
messageId string Native message id.
headers string>.Dictionary The message headers.
body byte The message body.
return System