Class MutableMessage<T>
- Namespace
- Steeltoe.Integration.Support
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class MutableMessage<T> : MutableMessage, IMessage<T>, IMessage
Type Parameters
T
- Inheritance
-
MutableMessage<T>
- Implements
-
IMessage<T>
- Inherited Members
Constructors
MutableMessage(T)
public MutableMessage(T payload)
Parameters
payloadT
MutableMessage(T, MutableMessageHeaders)
public MutableMessage(T payload, MutableMessageHeaders headers)
Parameters
payloadTheadersMutableMessageHeaders
MutableMessage(T, IDictionary<string, object>)
public MutableMessage(T payload, IDictionary<string, object> headers)
Parameters
payloadTheadersIDictionary<string, object>
Properties
Payload
Gets the body of the message
public T Payload { get; }
Property Value
- T
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.