Class AbstractMessageReceivingTemplate<D>
Inheritance
System.Object
AbstractMessageReceivingTemplate<D>
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public abstract class AbstractMessageReceivingTemplate<D> : AbstractMessageSendingTemplate<D>, IMessageSendingOperations<D>, IMessageReceivingOperations<D>
Type Parameters
Properties
|
Edit this page
View Source
DefaultReceiveDestination
Declaration
public virtual D DefaultReceiveDestination { get; set; }
Property Value
|
Edit this page
View Source
RequiredDefaultReceiveDestination
Declaration
protected virtual D RequiredDefaultReceiveDestination { get; }
Property Value
|
Edit this page
View Source
ThrowReceivedExceptions
Declaration
public virtual bool ThrowReceivedExceptions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Edit this page
View Source
DoConvert<T>(IMessage)
Declaration
protected virtual T DoConvert<T>(IMessage message)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
DoReceive(D)
Declaration
protected abstract IMessage DoReceive(D destination)
Parameters
Type |
Name |
Description |
D |
destination |
|
Returns
|
Edit this page
View Source
DoReceiveAsync(D, CancellationToken)
Declaration
protected abstract Task<IMessage> DoReceiveAsync(D destination, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
D |
destination |
|
CancellationToken |
cancellationToken |
|
Returns
|
Edit this page
View Source
Receive()
Declaration
public virtual IMessage Receive()
Returns
|
Edit this page
View Source
Receive(D)
Declaration
public virtual IMessage Receive(D destination)
Parameters
Type |
Name |
Description |
D |
destination |
|
Returns
|
Edit this page
View Source
ReceiveAndConvert<T>()
Declaration
public virtual T ReceiveAndConvert<T>()
Returns
Type Parameters
|
Edit this page
View Source
ReceiveAndConvert<T>(D)
Declaration
public virtual T ReceiveAndConvert<T>(D destination)
Parameters
Type |
Name |
Description |
D |
destination |
|
Returns
Type Parameters
|
Edit this page
View Source
ReceiveAndConvertAsync<T>(D, CancellationToken)
Declaration
public virtual async Task<T> ReceiveAndConvertAsync<T>(D destination, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ReceiveAndConvertAsync<T>(CancellationToken)
Declaration
public virtual Task<T> ReceiveAndConvertAsync<T>(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
Type Parameters
|
Edit this page
View Source
ReceiveAsync(D, CancellationToken)
Declaration
public virtual Task<IMessage> ReceiveAsync(D destination, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
D |
destination |
|
CancellationToken |
cancellationToken |
|
Returns
|
Edit this page
View Source
ReceiveAsync(CancellationToken)
Declaration
public virtual Task<IMessage> ReceiveAsync(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
Implements