Class AbstractMessageBuilder
Inheritance
System.Object
AbstractMessageBuilder
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public abstract class AbstractMessageBuilder : object
Constructors
|
Edit this page
View Source
AbstractMessageBuilder()
Declaration
protected AbstractMessageBuilder()
|
Edit this page
View Source
AbstractMessageBuilder(IMessage)
Declaration
protected AbstractMessageBuilder(IMessage message)
Parameters
|
Edit this page
View Source
Declaration
protected AbstractMessageBuilder(MessageHeaderAccessor accessor)
Parameters
|
Edit this page
View Source
Declaration
protected AbstractMessageBuilder(object payload, MessageHeaderAccessor accessor)
Parameters
Fields
|
Edit this page
View Source
Declaration
protected MessageHeaderAccessor headerAccessor
Field Value
|
Edit this page
View Source
originalMessage
Declaration
protected readonly IMessage originalMessage
Field Value
|
Edit this page
View Source
payload
Declaration
protected readonly object payload
Field Value
Type |
Description |
System.Object |
|
Methods
|
Edit this page
View Source
Build()
Declaration
public virtual IMessage Build()
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder CopyHeaders(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder CopyHeadersIfAbsent(IDictionary<string, object> headersToCopy)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headersToCopy |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder RemoveHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder RemoveHeaders(params string[] headerPatterns)
Parameters
Type |
Name |
Description |
System.String[] |
headerPatterns |
|
Returns
|
Edit this page
View Source
SetErrorChannel(IMessageChannel)
Declaration
public abstract AbstractMessageBuilder SetErrorChannel(IMessageChannel errorChannel)
Parameters
Returns
|
Edit this page
View Source
SetErrorChannelName(String)
Declaration
public abstract AbstractMessageBuilder SetErrorChannelName(string errorChannelName)
Parameters
Type |
Name |
Description |
System.String |
errorChannelName |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder SetHeader(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder SetHeaderIfAbsent(string headerName, object headerValue)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
Returns
|
Edit this page
View Source
Declaration
public abstract AbstractMessageBuilder SetHeaders(MessageHeaderAccessor accessor)
Parameters
Returns
|
Edit this page
View Source
SetReplyChannel(IMessageChannel)
Declaration
public abstract AbstractMessageBuilder SetReplyChannel(IMessageChannel replyChannel)
Parameters
Returns
|
Edit this page
View Source
SetReplyChannelName(String)
Declaration
public abstract AbstractMessageBuilder SetReplyChannelName(string replyChannelName)
Parameters
Type |
Name |
Description |
System.String |
replyChannelName |
|
Returns
Extension Methods