The headers for a message
Assembly: Steeltoe.Messaging.Abstractions.dll
public interface IMessageHeaders
Properties
|
Edit this page
View Source
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Gets the error channel the message is for
Declaration
object ErrorChannel { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
ICollection<string> Keys { get; }
Property Value
Type |
Description |
ICollection<System.String> |
|
|
Edit this page
View Source
Gets the reply channel the message is for
Declaration
object ReplyChannel { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Gets the timestamp header value
Declaration
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
|
Edit this page
View Source
Declaration
ICollection<object> Values { get; }
Property Value
Type |
Description |
ICollection<System.Object> |
|
Methods
|
Edit this page
View Source
Gets a header value given its key
Declaration
Parameters
Type |
Name |
Description |
System.String |
key |
the name of the header
|
Returns
Type |
Description |
T |
the value or null if not found
|
Type Parameters
Name |
Description |
T |
the type of the value returned
|
|
Edit this page
View Source
Declaration
IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type |
Description |
IEnumerator<KeyValuePair<System.String, System.Object>> |
|