Class MessagingTemplate
Inheritance
System.Object
MessagingTemplate
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class MessagingTemplate : MessageChannelTemplate
Constructors
|
Edit this page
View Source
MessagingTemplate(IApplicationContext, ILogger)
Declaration
public MessagingTemplate(IApplicationContext context, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
ILogger |
logger |
|
|
Edit this page
View Source
MessagingTemplate(IApplicationContext, IMessageChannel, ILogger)
Declaration
public MessagingTemplate(IApplicationContext context, IMessageChannel defaultChannel, ILogger logger = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
IMessageChannel |
defaultChannel |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
DefaultDestination
Declaration
public IMessageChannel DefaultDestination { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
|
Edit this page
View Source
DefaultReceiveDestination
Declaration
public override IMessageChannel DefaultReceiveDestination { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
|
Edit this page
View Source
DefaultSendDestination
Declaration
public override IMessageChannel DefaultSendDestination { get; set; }
Property Value
Type |
Description |
IMessageChannel |
|
Methods
|
Edit this page
View Source
Receive(IMessageChannel, Int32)
Declaration
public IMessage Receive(IMessageChannel destination, int timeout)
Parameters
Type |
Name |
Description |
IMessageChannel |
destination |
|
System.Int32 |
timeout |
|
Returns
Type |
Description |
IMessage |
|
|
Edit this page
View Source
ReceiveAndConvert(IMessageChannel, Int32)
Declaration
public object ReceiveAndConvert(IMessageChannel destination, int timeout)
Parameters
Type |
Name |
Description |
IMessageChannel |
destination |
|
System.Int32 |
timeout |
|
Returns
Type |
Description |
System.Object |
|
|
Edit this page
View Source
SendAndReceive(IMessageChannel, IMessage)
Declaration
public override IMessage SendAndReceive(IMessageChannel destination, IMessage requestMessage)
Parameters
Type |
Name |
Description |
IMessageChannel |
destination |
|
IMessage |
requestMessage |
|
Returns
Type |
Description |
IMessage |
|