Class MessageBuilder<P>
Inheritance
System.Object
MessageBuilder<P>
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class MessageBuilder<P> : AbstractMessageBuilder
Type Parameters
Constructors
|
Edit this page
View Source
MessageBuilder()
Declaration
protected MessageBuilder()
|
Edit this page
View Source
Declaration
protected MessageBuilder(P payload, MessageHeaderAccessor accessor)
Parameters
|
Edit this page
View Source
MessageBuilder(IMessage)
Declaration
protected MessageBuilder(IMessage message)
Parameters
|
Edit this page
View Source
MessageBuilder(IMessage<P>)
Declaration
protected MessageBuilder(IMessage<P> message)
Parameters
Type |
Name |
Description |
IMessage<P> |
message |
|
|
Edit this page
View Source
Declaration
protected MessageBuilder(MessageHeaderAccessor accessor)
Parameters
Methods
|
Edit this page
View Source
Build()
Declaration
public IMessage<P> Build()
Returns
|
Edit this page
View Source
Declaration
public override AbstractMessageBuilder 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 AbstractMessageBuilder CopyHeadersIfAbsent(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override AbstractMessageBuilder RemoveHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override AbstractMessageBuilder RemoveHeaders(params string[] headerPatterns)
Parameters
Type |
Name |
Description |
System.String[] |
headerPatterns |
|
Returns
Overrides
|
Edit this page
View Source
SetErrorChannel(IMessageChannel)
Declaration
public override AbstractMessageBuilder SetErrorChannel(IMessageChannel errorChannel)
Parameters
Returns
Overrides
|
Edit this page
View Source
SetErrorChannelName(String)
Declaration
public override AbstractMessageBuilder SetErrorChannelName(string errorChannelName)
Parameters
Type |
Name |
Description |
System.String |
errorChannelName |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override AbstractMessageBuilder 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 AbstractMessageBuilder SetHeaderIfAbsent(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
Overrides
|
Edit this page
View Source
Declaration
public override AbstractMessageBuilder SetHeaders(MessageHeaderAccessor accessor)
Parameters
Returns
Overrides
|
Edit this page
View Source
SetReplyChannel(IMessageChannel)
Declaration
public override AbstractMessageBuilder SetReplyChannel(IMessageChannel replyChannel)
Parameters
Returns
Overrides
|
Edit this page
View Source
SetReplyChannelName(String)
Declaration
public override AbstractMessageBuilder SetReplyChannelName(string replyChannelName)
Parameters
Type |
Name |
Description |
System.String |
replyChannelName |
|
Returns
Overrides
Extension Methods