Class MutableIntegrationMessageBuilder
Inheritance
System.Object
MutableIntegrationMessageBuilder
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class MutableIntegrationMessageBuilder : AbstractMessageBuilder, IMessageBuilder
Constructors
|
Edit this page
View Source
MutableIntegrationMessageBuilder()
Declaration
protected MutableIntegrationMessageBuilder()
Fields
|
Edit this page
View Source
Declaration
protected IDictionary<string, object> _headers
Field Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
|
Edit this page
View Source
_mutableMessage
Declaration
protected MutableMessage _mutableMessage
Field Value
Properties
|
Edit this page
View Source
CorrelationId
Declaration
protected override object CorrelationId { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
|
Edit this page
View Source
Declaration
public override IDictionary<string, object> Headers { get; }
Property Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
Overrides
|
Edit this page
View Source
Payload
Declaration
public override object Payload { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
|
Edit this page
View Source
SequenceDetails
Declaration
protected override List<List<object>> SequenceDetails { get; }
Property Value
Type |
Description |
List<List<System.Object>> |
|
Overrides
|
Edit this page
View Source
SequenceNumber
Declaration
protected override object SequenceNumber { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
|
Edit this page
View Source
SequenceSize
Declaration
protected override object SequenceSize { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
Methods
|
Edit this page
View Source
Build()
Declaration
public override IMessage Build()
Returns
Type |
Description |
IMessage |
|
Overrides
|
Edit this page
View Source
Declaration
public override IMessageBuilder CopyHeaders(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override IMessageBuilder CopyHeadersIfAbsent(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
Overrides
|
Edit this page
View Source
FromMessage(IMessage)
Declaration
public static MutableIntegrationMessageBuilder FromMessage(IMessage message)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Returns
|
Edit this page
View Source
Declaration
protected List<string> GetMatchingHeaderNames(string pattern, IDictionary<string, object> headers)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
IDictionary<System.String, System.Object> |
headers |
|
Returns
Type |
Description |
List<System.String> |
|
|
Edit this page
View Source
Declaration
public override IMessageBuilder RemoveHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override IMessageBuilder RemoveHeaders(params string[] headerPatterns)
Parameters
Type |
Name |
Description |
System.String[] |
headerPatterns |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override IMessageBuilder SetHeader(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override IMessageBuilder SetHeaderIfAbsent(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
Overrides
|
Edit this page
View Source
WithPayload(Object)
Declaration
public static MutableIntegrationMessageBuilder WithPayload(object payload)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
Returns
|
Edit this page
View Source
WithPayload(Object, Boolean)
Declaration
public static MutableIntegrationMessageBuilder WithPayload(object payload, bool generateHeaders)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
System.Boolean |
generateHeaders |
|
Returns
Implements