Class AbstractMessagingTemplate<D>
Inheritance
System.Object
AbstractMessagingTemplate<D>
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public abstract class AbstractMessagingTemplate<D> : AbstractMessageReceivingTemplate<D>, IMessageSendingOperations<D>, IMessageReceivingOperations<D>, IMessageRequestReplyOperations<D>
Type Parameters
Methods
|
Edit this page
View Source
ConvertSendAndReceive<T>(D, Object)
Declaration
public virtual T ConvertSendAndReceive<T>(D destination, object request)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceive<T>(D, Object, IDictionary<String, Object>)
Declaration
public virtual T ConvertSendAndReceive<T>(D destination, object request, IDictionary<string, object> headers)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
IDictionary<System.String, System.Object> |
headers |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceive<T>(D, Object, IDictionary<String, Object>, IMessagePostProcessor)
Declaration
public virtual T ConvertSendAndReceive<T>(D destination, object request, IDictionary<string, object> headers, IMessagePostProcessor requestPostProcessor)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
IDictionary<System.String, System.Object> |
headers |
|
IMessagePostProcessor |
requestPostProcessor |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceive<T>(D, Object, IMessagePostProcessor)
Declaration
public virtual T ConvertSendAndReceive<T>(D destination, object request, IMessagePostProcessor requestPostProcessor)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceive<T>(Object)
Declaration
public virtual T ConvertSendAndReceive<T>(object request)
Parameters
Type |
Name |
Description |
System.Object |
request |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceive<T>(Object, IMessagePostProcessor)
Declaration
public virtual T ConvertSendAndReceive<T>(object request, IMessagePostProcessor requestPostProcessor)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(D, Object, CancellationToken)
Declaration
public virtual Task<T> ConvertSendAndReceiveAsync<T>(D destination, object request, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(D, Object, IDictionary<String, Object>, CancellationToken)
Declaration
public virtual Task<T> ConvertSendAndReceiveAsync<T>(D destination, object request, IDictionary<string, object> headers, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
IDictionary<System.String, System.Object> |
headers |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(D, Object, IDictionary<String, Object>, IMessagePostProcessor, CancellationToken)
Declaration
public virtual async Task<T> ConvertSendAndReceiveAsync<T>(D destination, object request, IDictionary<string, object> headers, IMessagePostProcessor requestPostProcessor, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
IDictionary<System.String, System.Object> |
headers |
|
IMessagePostProcessor |
requestPostProcessor |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(D, Object, IMessagePostProcessor, CancellationToken)
Declaration
public virtual Task<T> ConvertSendAndReceiveAsync<T>(D destination, object request, IMessagePostProcessor requestPostProcessor, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
System.Object |
request |
|
IMessagePostProcessor |
requestPostProcessor |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(Object, CancellationToken)
Declaration
public virtual Task<T> ConvertSendAndReceiveAsync<T>(object request, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Object |
request |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ConvertSendAndReceiveAsync<T>(Object, IMessagePostProcessor, CancellationToken)
Declaration
public virtual Task<T> ConvertSendAndReceiveAsync<T>(object request, IMessagePostProcessor requestPostProcessor, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Object |
request |
|
IMessagePostProcessor |
requestPostProcessor |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
DoSendAndReceive(D, IMessage)
Declaration
protected abstract IMessage DoSendAndReceive(D destination, IMessage requestMessage)
Parameters
Type |
Name |
Description |
D |
destination |
|
IMessage |
requestMessage |
|
Returns
|
Edit this page
View Source
DoSendAndReceiveAsync(D, IMessage, CancellationToken)
Declaration
protected abstract Task<IMessage> DoSendAndReceiveAsync(D destination, IMessage requestMessage, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
IMessage |
requestMessage |
|
CancellationToken |
cancellationToken |
|
Returns
|
Edit this page
View Source
SendAndReceive(D, IMessage)
Declaration
public virtual IMessage SendAndReceive(D destination, IMessage requestMessage)
Parameters
Type |
Name |
Description |
D |
destination |
|
IMessage |
requestMessage |
|
Returns
|
Edit this page
View Source
SendAndReceive(IMessage)
Declaration
public virtual IMessage SendAndReceive(IMessage requestMessage)
Parameters
Type |
Name |
Description |
IMessage |
requestMessage |
|
Returns
|
Edit this page
View Source
SendAndReceiveAsync(D, IMessage, CancellationToken)
Declaration
public virtual Task<IMessage> SendAndReceiveAsync(D destination, IMessage requestMessage, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
IMessage |
requestMessage |
|
CancellationToken |
cancellationToken |
|
Returns
|
Edit this page
View Source
SendAndReceiveAsync(IMessage, CancellationToken)
Declaration
public virtual Task<IMessage> SendAndReceiveAsync(IMessage requestMessage, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
IMessage |
requestMessage |
|
CancellationToken |
cancellationToken |
|
Returns
Implements