Table of Contents

Class MutableIntegrationMessageBuilderFactory

Namespace
Steeltoe.Integration.Support
Assembly
Steeltoe.Integration.IntegrationBase.dll
public class MutableIntegrationMessageBuilderFactory : IMessageBuilderFactory
Inheritance
MutableIntegrationMessageBuilderFactory
Implements
Inherited Members

Methods

FromMessage(IMessage)

Create a message builder from the given message

public IMessageBuilder FromMessage(IMessage message)

Parameters

message IMessage

the message to use

Returns

IMessageBuilder

the message builder

FromMessage<T>(IMessage<T>)

Create a message builder from the given message

public IMessageBuilder<T> FromMessage<T>(IMessage<T> message)

Parameters

message IMessage<T>

the message to use

Returns

IMessageBuilder<T>

the message builder

Type Parameters

T

the type of payload

WithPayload(object)

Create a message builder from the given message payload

public IMessageBuilder WithPayload(object payload)

Parameters

payload object

the payload of the message

Returns

IMessageBuilder

the message builder

WithPayload<T>(T)

Create a message builder from the given message payload

public IMessageBuilder<T> WithPayload<T>(T payload)

Parameters

payload T

the payload of the message

Returns

IMessageBuilder<T>

the message builder

Type Parameters

T

the type of the payload