Class IntegrationMessageBuilder<T>
Inheritance
System.Object
IntegrationMessageBuilder<T>
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class IntegrationMessageBuilder<T> : IntegrationMessageBuilder, IMessageBuilder<T>, IMessageBuilder
Type Parameters
Properties
|
Edit this page
View Source
Payload
Declaration
public T Payload { get; }
Property Value
Methods
|
Edit this page
View Source
Build()
Declaration
public IMessage<T> Build()
Returns
Type |
Description |
IMessage<T> |
|
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> CopyHeaders(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> CopyHeadersIfAbsent(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
|
Edit this page
View Source
FilterAndCopyHeadersIfAbsent(IDictionary<String, Object>, String[])
Declaration
public IMessageBuilder<T> FilterAndCopyHeadersIfAbsent(IDictionary<string, object> headersToCopy, params string[] headerPatternsToFilter)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
System.String[] |
headerPatternsToFilter |
|
Returns
|
Edit this page
View Source
FromMessage(IMessage<T>)
Declaration
public static IntegrationMessageBuilder<T> FromMessage(IMessage<T> message)
Parameters
Type |
Name |
Description |
IMessage<T> |
message |
|
Returns
|
Edit this page
View Source
PopSequenceDetails()
Declaration
public IMessageBuilder<T> PopSequenceDetails()
Returns
|
Edit this page
View Source
PushSequenceDetails(Object, Int32, Int32)
Declaration
public IMessageBuilder<T> PushSequenceDetails(object correlationId, int sequenceNumber, int sequenceSize)
Parameters
Type |
Name |
Description |
System.Object |
correlationId |
|
System.Int32 |
sequenceNumber |
|
System.Int32 |
sequenceSize |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> ReadOnlyHeaders(IList<string> readOnlyHeaders)
Parameters
Type |
Name |
Description |
IList<System.String> |
readOnlyHeaders |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> RemoveHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> RemoveHeaders(params string[] headerPatterns)
Parameters
Type |
Name |
Description |
System.String[] |
headerPatterns |
|
Returns
|
Edit this page
View Source
SetCorrelationId(Object)
Declaration
public IMessageBuilder<T> SetCorrelationId(object correlationId)
Parameters
Type |
Name |
Description |
System.Object |
correlationId |
|
Returns
|
Edit this page
View Source
SetErrorChannel(IMessageChannel)
Declaration
public IMessageBuilder<T> SetErrorChannel(IMessageChannel errorChannel)
Parameters
Type |
Name |
Description |
IMessageChannel |
errorChannel |
|
Returns
|
Edit this page
View Source
SetErrorChannelName(String)
Declaration
public IMessageBuilder<T> SetErrorChannelName(string errorChannelName)
Parameters
Type |
Name |
Description |
System.String |
errorChannelName |
|
Returns
|
Edit this page
View Source
SetExpirationDate(Int64)
Declaration
public IMessageBuilder<T> SetExpirationDate(long expirationDate)
Parameters
Type |
Name |
Description |
System.Int64 |
expirationDate |
|
Returns
|
Edit this page
View Source
SetExpirationDate(Nullable<DateTime>)
Declaration
public IMessageBuilder<T> SetExpirationDate(DateTime? expirationDate)
Parameters
Type |
Name |
Description |
System.Nullable<DateTime> |
expirationDate |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> SetHeader(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
|
Edit this page
View Source
Declaration
public IMessageBuilder<T> SetHeaderIfAbsent(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
|
Edit this page
View Source
SetPriority(Int32)
Declaration
public IMessageBuilder<T> SetPriority(int priority)
Parameters
Type |
Name |
Description |
System.Int32 |
priority |
|
Returns
|
Edit this page
View Source
SetReplyChannel(IMessageChannel)
Declaration
public IMessageBuilder<T> SetReplyChannel(IMessageChannel replyChannel)
Parameters
Type |
Name |
Description |
IMessageChannel |
replyChannel |
|
Returns
|
Edit this page
View Source
SetReplyChannelName(String)
Declaration
public IMessageBuilder<T> SetReplyChannelName(string replyChannelName)
Parameters
Type |
Name |
Description |
System.String |
replyChannelName |
|
Returns
|
Edit this page
View Source
SetSequenceNumber(Int32)
Declaration
public IMessageBuilder<T> SetSequenceNumber(int sequenceNumber)
Parameters
Type |
Name |
Description |
System.Int32 |
sequenceNumber |
|
Returns
|
Edit this page
View Source
SetSequenceSize(Int32)
Declaration
public IMessageBuilder<T> SetSequenceSize(int sequenceSize)
Parameters
Type |
Name |
Description |
System.Int32 |
sequenceSize |
|
Returns
|
Edit this page
View Source
WithPayload(T)
Declaration
public static IntegrationMessageBuilder<T> WithPayload(T payload)
Parameters
Type |
Name |
Description |
T |
payload |
|
Returns
Implements