Table of Contents

Class MutableMessage

Namespace
Steeltoe.Integration.Support
Assembly
Steeltoe.Integration.IntegrationBase.dll
public class MutableMessage : IMessage
Inheritance
MutableMessage
Implements
Derived
Inherited Members

Constructors

MutableMessage(object)

public MutableMessage(object payload)

Parameters

payload object

MutableMessage(object, MutableMessageHeaders)

public MutableMessage(object payload, MutableMessageHeaders headers)

Parameters

payload object
headers MutableMessageHeaders

MutableMessage(object, IDictionary<string, object>)

public MutableMessage(object payload, IDictionary<string, object> headers)

Parameters

payload object
headers IDictionary<string, object>

Fields

_headers

protected readonly MutableMessageHeaders _headers

Field Value

MutableMessageHeaders

_payload

protected readonly object _payload

Field Value

object

Properties

Headers

Gets the headers for the message

public IMessageHeaders Headers { get; }

Property Value

IMessageHeaders

Payload

Gets the body of the message

public object Payload { get; }

Property Value

object

RawHeaders

protected IDictionary<string, object> RawHeaders { get; }

Property Value

IDictionary<string, object>

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.