Class RabbitTemplate
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RabbitTemplate : AbstractMessagingTemplate<RabbitDestination>, IMessageSendingOperations<RabbitDestination>, IMessageReceivingOperations<RabbitDestination>, IMessageRequestReplyOperations<RabbitDestination>, IRabbitTemplate, IServiceNameAware, IMessageListener, IListenerContainerAware, IPublisherCallbackChannel.IListener, IDisposable
- Inheritance
-
RabbitTemplate
- Implements
- Derived
- Inherited Members
Constructors
RabbitTemplate(ILogger)
public RabbitTemplate(ILogger logger = null)
Parameters
loggerILogger
RabbitTemplate(IOptionsMonitor<RabbitOptions>, IConnectionFactory, ILogger)
public RabbitTemplate(IOptionsMonitor<RabbitOptions> optionsMonitor, IConnectionFactory connectionFactory, ILogger logger = null)
Parameters
optionsMonitorIOptionsMonitor<RabbitOptions>connectionFactoryIConnectionFactoryloggerILogger
RabbitTemplate(IOptionsMonitor<RabbitOptions>, IConnectionFactory, ISmartMessageConverter, ILogger)
[ActivatorUtilitiesConstructor]
public RabbitTemplate(IOptionsMonitor<RabbitOptions> optionsMonitor, IConnectionFactory connectionFactory, ISmartMessageConverter messageConverter, ILogger logger = null)
Parameters
optionsMonitorIOptionsMonitor<RabbitOptions>connectionFactoryIConnectionFactorymessageConverterISmartMessageConverterloggerILogger
RabbitTemplate(RabbitOptions, IConnectionFactory, ILogger)
public RabbitTemplate(RabbitOptions options, IConnectionFactory connectionFactory, ILogger logger = null)
Parameters
optionsRabbitOptionsconnectionFactoryIConnectionFactoryloggerILogger
RabbitTemplate(RabbitOptions, IConnectionFactory, ISmartMessageConverter, ILogger)
public RabbitTemplate(RabbitOptions options, IConnectionFactory connectionFactory, ISmartMessageConverter messageConverter, ILogger logger = null)
Parameters
optionsRabbitOptionsconnectionFactoryIConnectionFactorymessageConverterISmartMessageConverterloggerILogger
RabbitTemplate(IConnectionFactory, ILogger)
public RabbitTemplate(IConnectionFactory connectionFactory, ILogger logger = null)
Parameters
connectionFactoryIConnectionFactoryloggerILogger
Fields
DEFAULT_SERVICE_NAME
public const string DEFAULT_SERVICE_NAME = "rabbitTemplate"
Field Value
_logger
protected readonly ILogger _logger
Field Value
Properties
AfterReceivePostProcessors
public virtual IList<IMessagePostProcessor> AfterReceivePostProcessors { get; }
Property Value
BeforePublishPostProcessors
public virtual IList<IMessagePostProcessor> BeforePublishPostProcessors { get; }
Property Value
ConfirmCallback
public virtual RabbitTemplate.IConfirmCallback ConfirmCallback { get; set; }
Property Value
ConnectionFactory
public virtual IConnectionFactory ConnectionFactory { get; set; }
Property Value
ContainerAckMode
public virtual AcknowledgeMode ContainerAckMode { get; set; }
Property Value
CorrelationDataPostProcessor
public virtual ICorrelationDataPostProcessor CorrelationDataPostProcessor { get; set; }
Property Value
CorrelationKey
public virtual string CorrelationKey { get; set; }
Property Value
DefaultReceiveQueue
public virtual string DefaultReceiveQueue { get; set; }
Property Value
Encoding
public virtual Encoding Encoding { get; set; }
Property Value
EvaluationContext
public virtual IEvaluationContext EvaluationContext { get; set; }
Property Value
Exchange
public virtual string Exchange { get; set; }
Property Value
IsChannelTransacted
public virtual bool IsChannelTransacted { get; set; }
Property Value
IsConfirmListener
Gets a value indicating whether this is a confirm listener
public virtual bool IsConfirmListener { get; }
Property Value
IsReturnListener
Gets a value indicating whether this is a returns listener
public virtual bool IsReturnListener { get; }
Property Value
IsRunning
public virtual bool IsRunning { get; }
Property Value
Mandatory
public virtual bool Mandatory { get; set; }
Property Value
MandatoryExpression
public virtual IExpression MandatoryExpression { get; set; }
Property Value
MandatoryExpressionString
public virtual string MandatoryExpressionString { get; set; }
Property Value
MessagePropertiesConverter
public virtual IMessageHeadersConverter MessagePropertiesConverter { get; set; }
Property Value
NoLocalReplyConsumer
public virtual bool NoLocalReplyConsumer { get; set; }
Property Value
Options
protected RabbitOptions Options { get; }
Property Value
ReceiveConnectionFactorySelectorExpression
public virtual IExpression ReceiveConnectionFactorySelectorExpression { get; set; }
Property Value
ReceiveTimeout
public virtual int ReceiveTimeout { get; set; }
Property Value
RecoveryCallback
public virtual IRecoveryCallback RecoveryCallback { get; set; }
Property Value
ReplyAddress
public virtual string ReplyAddress { get; set; }
Property Value
ReplyErrorHandler
public virtual IErrorHandler ReplyErrorHandler { get; set; }
Property Value
ReplyTimeout
public virtual int ReplyTimeout { get; set; }
Property Value
RetryTemplate
public virtual IRetryOperation RetryTemplate { get; set; }
Property Value
ReturnCallback
public virtual RabbitTemplate.IReturnCallback ReturnCallback { get; set; }
Property Value
RoutingKey
public virtual string RoutingKey { get; set; }
Property Value
SendConnectionFactorySelectorExpression
public virtual IExpression SendConnectionFactorySelectorExpression { get; set; }
Property Value
ServiceName
public virtual string ServiceName { get; set; }
Property Value
UUID
Gets the UUID used to identify this listener for returns
public virtual string UUID { get; }
Property Value
UseDirectReplyToContainer
public virtual bool UseDirectReplyToContainer { get; set; }
Property Value
UsePublisherConnection
public virtual bool UsePublisherConnection { get; set; }
Property Value
UseTemporaryReplyQueues
public virtual bool UseTemporaryReplyQueues { get; set; }
Property Value
UserCorrelationId
public virtual bool UserCorrelationId { get; set; }
Property Value
UserIdExpression
public virtual IExpression UserIdExpression { get; set; }
Property Value
UserIdExpressionString
public virtual string UserIdExpressionString { get; set; }
Property Value
Methods
AddAfterReceivePostProcessors(params IMessagePostProcessor[])
public virtual void AddAfterReceivePostProcessors(params IMessagePostProcessor[] afterReceivePostProcessors)
Parameters
afterReceivePostProcessorsIMessagePostProcessor[]
AddBeforePublishPostProcessors(params IMessagePostProcessor[])
public virtual void AddBeforePublishPostProcessors(params IMessagePostProcessor[] beforePublishPostProcessors)
Parameters
beforePublishPostProcessorsIMessagePostProcessor[]
AddListener(IModel)
public virtual void AddListener(IModel channel)
Parameters
channelIModel
ConvertAndSend(object, IMessagePostProcessor)
public virtual void ConvertAndSend(object message, IMessagePostProcessor messagePostProcessor)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessor
ConvertAndSend(object, IMessagePostProcessor, CorrelationData)
public virtual void ConvertAndSend(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
ConvertAndSend(string, object)
public virtual void ConvertAndSend(string routingKey, object message)
Parameters
ConvertAndSend(string, object, CorrelationData)
public virtual void ConvertAndSend(string routingKey, object message, CorrelationData correlationData)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationData
ConvertAndSend(string, object, IMessagePostProcessor)
public virtual void ConvertAndSend(string routingKey, object message, IMessagePostProcessor messagePostProcessor)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessor
ConvertAndSend(string, object, IMessagePostProcessor, CorrelationData)
public virtual void ConvertAndSend(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
ConvertAndSend(string, string, object)
public virtual void ConvertAndSend(string exchange, string routingKey, object message)
Parameters
ConvertAndSend(string, string, object, CorrelationData)
public virtual void ConvertAndSend(string exchange, string routingKey, object message, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationData
ConvertAndSend(string, string, object, IMessagePostProcessor)
public virtual void ConvertAndSend(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessor
ConvertAndSend(string, string, object, IMessagePostProcessor, CorrelationData)
public virtual void ConvertAndSend(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
ConvertAndSendAsync(object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task ConvertAndSendAsync(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
ConvertAndSendAsync(object, IMessagePostProcessor, CancellationToken)
public virtual Task ConvertAndSendAsync(object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, object, CorrelationData, CancellationToken)
public virtual Task ConvertAndSendAsync(string routingKey, object message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task ConvertAndSendAsync(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, object, IMessagePostProcessor, CancellationToken)
public virtual Task ConvertAndSendAsync(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, object, CancellationToken)
public virtual Task ConvertAndSendAsync(string routingKey, object message, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectcancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, string, object, CorrelationData, CancellationToken)
public virtual Task ConvertAndSendAsync(string exchange, string routingKey, object message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, string, object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task ConvertAndSendAsync(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, string, object, IMessagePostProcessor, CancellationToken)
public virtual Task ConvertAndSendAsync(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
ConvertAndSendAsync(string, string, object, CancellationToken)
public virtual Task ConvertAndSendAsync(string exchange, string routingKey, object message, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectcancellationTokenCancellationToken
Returns
ConvertMessageIfNecessary(object)
protected virtual IMessage ConvertMessageIfNecessary(object message)
Parameters
messageobject
Returns
ConvertRabbitAccessException(Exception)
protected virtual Exception ConvertRabbitAccessException(Exception ex)
Parameters
exException
Returns
ConvertSendAndReceiveAsType(object, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(object message, CorrelationData correlationData, Type type)
Parameters
messageobjectcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(object, IMessagePostProcessor, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(object, IMessagePostProcessor, Type)
public virtual object ConvertSendAndReceiveAsType(object message, IMessagePostProcessor messagePostProcessor, Type type)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessortypeType
Returns
ConvertSendAndReceiveAsType(object, Type)
public virtual object ConvertSendAndReceiveAsType(object message, Type type)
Parameters
Returns
ConvertSendAndReceiveAsType(string, object, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(string routingKey, object message, CorrelationData correlationData, Type type)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(string, object, IMessagePostProcessor, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(string, object, IMessagePostProcessor, Type)
public virtual object ConvertSendAndReceiveAsType(string routingKey, object message, IMessagePostProcessor messagePostProcessor, Type type)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessortypeType
Returns
ConvertSendAndReceiveAsType(string, object, Type)
public virtual object ConvertSendAndReceiveAsType(string routingKey, object message, Type type)
Parameters
Returns
ConvertSendAndReceiveAsType(string, string, object, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(string exchange, string routingKey, object message, CorrelationData correlationData, Type type)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(string, string, object, IMessagePostProcessor, CorrelationData, Type)
public virtual object ConvertSendAndReceiveAsType(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeType
Returns
ConvertSendAndReceiveAsType(string, string, object, IMessagePostProcessor, Type)
public virtual object ConvertSendAndReceiveAsType(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, Type type)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessortypeType
Returns
ConvertSendAndReceiveAsType(string, string, object, Type)
public virtual object ConvertSendAndReceiveAsType(string exchange, string routingKey, object message, Type type)
Parameters
Returns
ConvertSendAndReceiveAsTypeAsync(object, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(object message, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
messageobjectcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(object, IMessagePostProcessor, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(object, IMessagePostProcessor, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(object message, IMessagePostProcessor messagePostProcessor, Type type, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessortypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(object, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(object message, Type type, CancellationToken cancellationToken = default)
Parameters
messageobjecttypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, object, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string routingKey, object message, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, object, IMessagePostProcessor, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, object, IMessagePostProcessor, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string routingKey, object message, IMessagePostProcessor messagePostProcessor, Type type, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessortypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, object, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string routingKey, object message, Type type, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjecttypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, string, object, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string exchange, string routingKey, object message, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, string, object, IMessagePostProcessor, CorrelationData, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, Type type, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatatypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, string, object, IMessagePostProcessor, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, Type type, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessortypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsTypeAsync(string, string, object, Type, CancellationToken)
public virtual Task<object> ConvertSendAndReceiveAsTypeAsync(string exchange, string routingKey, object message, Type type, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjecttypeTypecancellationTokenCancellationToken
Returns
ConvertSendAndReceiveAsync<T>(object, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(object message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
messageobjectcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(object, IMessagePostProcessor, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, object, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string routingKey, object message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, object, IMessagePostProcessor, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, object, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string routingKey, object message, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageobjectcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, string, object, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string exchange, string routingKey, object message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, string, object, IMessagePostProcessor, CorrelationData, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, string, object, IMessagePostProcessor, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveAsync<T>(string, string, object, CancellationToken)
public virtual Task<T> ConvertSendAndReceiveAsync<T>(string exchange, string routingKey, object message, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageobjectcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ConvertSendAndReceiveRaw(string, string, object, IMessagePostProcessor, CorrelationData)
protected IMessage ConvertSendAndReceiveRaw(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
Returns
ConvertSendAndReceive<T>(object, CorrelationData)
public virtual T ConvertSendAndReceive<T>(object message, CorrelationData correlationData)
Parameters
messageobjectcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(object, IMessagePostProcessor)
public virtual T ConvertSendAndReceive<T>(object message, IMessagePostProcessor messagePostProcessor)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessor
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(object, IMessagePostProcessor, CorrelationData)
public virtual T ConvertSendAndReceive<T>(object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
messageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, object)
public virtual T ConvertSendAndReceive<T>(string routingKey, object message)
Parameters
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, object, CorrelationData)
public virtual T ConvertSendAndReceive<T>(string routingKey, object message, CorrelationData correlationData)
Parameters
routingKeystringmessageobjectcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, object, IMessagePostProcessor)
public virtual T ConvertSendAndReceive<T>(string routingKey, object message, IMessagePostProcessor messagePostProcessor)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessor
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, object, IMessagePostProcessor, CorrelationData)
public virtual T ConvertSendAndReceive<T>(string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
routingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, string, object)
public virtual T ConvertSendAndReceive<T>(string exchange, string routingKey, object message)
Parameters
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, string, object, CorrelationData)
public virtual T ConvertSendAndReceive<T>(string exchange, string routingKey, object message, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageobjectcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, string, object, IMessagePostProcessor)
public virtual T ConvertSendAndReceive<T>(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessor
Returns
- T
Type Parameters
T
ConvertSendAndReceive<T>(string, string, object, IMessagePostProcessor, CorrelationData)
public virtual T ConvertSendAndReceive<T>(string exchange, string routingKey, object message, IMessagePostProcessor messagePostProcessor, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageobjectmessagePostProcessorIMessagePostProcessorcorrelationDataCorrelationData
Returns
- T
Type Parameters
T
CorrelationConvertAndSend(object, CorrelationData)
public virtual void CorrelationConvertAndSend(object message, CorrelationData correlationData)
Parameters
messageobjectcorrelationDataCorrelationData
CreateConnection()
protected virtual IConnection CreateConnection()
Returns
DetermineConfirmsReturnsCapability(IConnectionFactory)
public virtual void DetermineConfirmsReturnsCapability(IConnectionFactory connectionFactory)
Parameters
connectionFactoryIConnectionFactory
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
DoReceive(RabbitDestination)
protected override IMessage DoReceive(RabbitDestination destination)
Parameters
destinationRabbitDestination
Returns
DoReceive(string, int, CancellationToken)
protected virtual IMessage DoReceive(string queueName, int timeoutMillis, CancellationToken cancellationToken)
Parameters
queueNamestringtimeoutMillisintcancellationTokenCancellationToken
Returns
DoReceiveAndConvert(string, int, Type, CancellationToken)
protected virtual object DoReceiveAndConvert(string queueName, int timeoutMillis, Type type, CancellationToken cancellationToken = default)
Parameters
queueNamestringtimeoutMillisinttypeTypecancellationTokenCancellationToken
Returns
DoReceiveAsync(RabbitDestination, CancellationToken)
protected override Task<IMessage> DoReceiveAsync(RabbitDestination destination, CancellationToken cancellationToken)
Parameters
destinationRabbitDestinationcancellationTokenCancellationToken
Returns
DoReceiveNoWait(string, CancellationToken)
protected virtual IMessage DoReceiveNoWait(string queueName, CancellationToken cancellationToken = default)
Parameters
queueNamestringcancellationTokenCancellationToken
Returns
DoSend(IModel, string, string, IMessage, bool, CorrelationData, CancellationToken)
protected virtual void DoSend(IModel channel, string exchangeArg, string routingKeyArg, IMessage message, bool mandatory, CorrelationData correlationData, CancellationToken cancellationToken)
Parameters
channelIModelexchangeArgstringroutingKeyArgstringmessageIMessagemandatoryboolcorrelationDataCorrelationDatacancellationTokenCancellationToken
DoSend(RabbitDestination, IMessage)
protected override void DoSend(RabbitDestination destination, IMessage message)
Parameters
destinationRabbitDestinationmessageIMessage
DoSendAndReceive(RabbitDestination, IMessage)
protected override IMessage DoSendAndReceive(RabbitDestination destination, IMessage requestMessage)
Parameters
destinationRabbitDestinationrequestMessageIMessage
Returns
DoSendAndReceive(string, string, IMessage, CorrelationData, CancellationToken)
protected virtual IMessage DoSendAndReceive(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
DoSendAndReceiveAsync(RabbitDestination, IMessage, CancellationToken)
protected override Task<IMessage> DoSendAndReceiveAsync(RabbitDestination destination, IMessage requestMessage, CancellationToken cancellationToken = default)
Parameters
destinationRabbitDestinationrequestMessageIMessagecancellationTokenCancellationToken
Returns
DoSendAndReceiveWithDirect(string, string, IMessage, CorrelationData, CancellationToken)
protected virtual IMessage DoSendAndReceiveWithDirect(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
DoSendAndReceiveWithFixed(string, string, IMessage, CorrelationData, CancellationToken)
protected virtual IMessage DoSendAndReceiveWithFixed(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
DoSendAndReceiveWithTemporary(string, string, IMessage, CorrelationData, CancellationToken)
protected virtual IMessage DoSendAndReceiveWithTemporary(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
DoSendAsync(RabbitDestination, IMessage, CancellationToken)
protected override Task DoSendAsync(RabbitDestination destination, IMessage message, CancellationToken cancellationToken)
Parameters
destinationRabbitDestinationmessageIMessagecancellationTokenCancellationToken
Returns
DoStart()
protected virtual Task DoStart()
Returns
DoStop()
protected virtual Task DoStop()
Returns
Execute(Action<IModel>)
public virtual void Execute(Action<IModel> action)
Parameters
actionAction<IModel>
Execute<T>(Func<IModel, T>)
public virtual T Execute<T>(Func<IModel, T> action)
Parameters
actionFunc<IModel, T>
Returns
- T
Type Parameters
T
GetDefaultExchange()
protected virtual string GetDefaultExchange()
Returns
GetDefaultRoutingKey()
protected virtual string GetDefaultRoutingKey()
Returns
GetExpectedQueueNames()
public virtual List<string> GetExpectedQueueNames()
Returns
GetTransactionalResourceHolder()
protected virtual RabbitResourceHolder GetTransactionalResourceHolder()
Returns
GetUnconfirmed(long)
public virtual ICollection<CorrelationData> GetUnconfirmed(long age)
Parameters
agelong
Returns
GetUnconfirmedCount()
public virtual int GetUnconfirmedCount()
Returns
HandleConfirm(PendingConfirm, bool)
Invoked by the channel when a confirmation is received
public virtual void HandleConfirm(PendingConfirm pendingConfirm, bool ack)
Parameters
pendingConfirmPendingConfirmthe pending confirmation
ackbooltrue when an ack; false when a nack
HandleReturn(int, string, string, string, IBasicProperties, byte[])
Invoked when a basic return command is received
public virtual void HandleReturn(int replyCode, string replyText, string exchange, string routingKey, IBasicProperties properties, byte[] body)
Parameters
replyCodeintthe reason code of the return
replyTextstringthe text from the broker describing the return
exchangestringthe exchange the returned message was originally published to.
routingKeystringthe routing key used when the message was originally published.
propertiesIBasicPropertiesthe content header of the message.
bodybyte[]the body of the message
Invoke<T>(Func<IRabbitTemplate, T>)
public virtual T Invoke<T>(Func<IRabbitTemplate, T> rabbitOperations)
Parameters
rabbitOperationsFunc<IRabbitTemplate, T>
Returns
- T
Type Parameters
T
Invoke<T>(Func<IRabbitTemplate, T>, Action<object, BasicAckEventArgs>, Action<object, BasicNackEventArgs>)
public virtual T Invoke<T>(Func<IRabbitTemplate, T> rabbitOperations, Action<object, BasicAckEventArgs> acks, Action<object, BasicNackEventArgs> nacks)
Parameters
rabbitOperationsFunc<IRabbitTemplate, T>acksAction<object, BasicAckEventArgs>nacksAction<object, BasicNackEventArgs>
Returns
- T
Type Parameters
T
IsChannelLocallyTransacted(IModel)
protected virtual bool IsChannelLocallyTransacted(IModel channel)
Parameters
channelIModel
Returns
IsMandatoryFor(IMessage)
public virtual bool IsMandatoryFor(IMessage message)
Parameters
messageIMessage
Returns
OnMessage(IMessage)
public virtual void OnMessage(IMessage message)
Parameters
messageIMessage
OnMessageBatch(List<IMessage>)
public virtual void OnMessageBatch(List<IMessage> messages)
Parameters
Receive(int)
public virtual IMessage Receive(int timeoutMillis)
Parameters
timeoutMillisint
Returns
Receive(string)
public virtual IMessage Receive(string queueName)
Parameters
queueNamestring
Returns
Receive(string, int)
public virtual IMessage Receive(string queueName, int timeoutMillis)
Parameters
Returns
ReceiveAndConvert(int, Type)
public virtual object ReceiveAndConvert(int timeoutMillis, Type type)
Parameters
Returns
ReceiveAndConvert(string, int, Type)
public virtual object ReceiveAndConvert(string queueName, int timeoutMillis, Type type)
Parameters
Returns
ReceiveAndConvert(string, Type)
public virtual object ReceiveAndConvert(string queueName, Type type)
Parameters
Returns
ReceiveAndConvert(Type)
public virtual object ReceiveAndConvert(Type type)
Parameters
typeType
Returns
ReceiveAndConvertAsync(int, Type, CancellationToken)
public virtual Task<object> ReceiveAndConvertAsync(int timeoutMillis, Type type, CancellationToken cancellationToken = default)
Parameters
timeoutMillisinttypeTypecancellationTokenCancellationToken
Returns
ReceiveAndConvertAsync(string, int, Type, CancellationToken)
public virtual Task<object> ReceiveAndConvertAsync(string queueName, int timeoutMillis, Type type, CancellationToken cancellationToken = default)
Parameters
queueNamestringtimeoutMillisinttypeTypecancellationTokenCancellationToken
Returns
ReceiveAndConvertAsync(string, Type, CancellationToken)
public virtual Task<object> ReceiveAndConvertAsync(string queueName, Type type, CancellationToken cancellationToken = default)
Parameters
queueNamestringtypeTypecancellationTokenCancellationToken
Returns
ReceiveAndConvertAsync(Type, CancellationToken)
public virtual Task<object> ReceiveAndConvertAsync(Type type, CancellationToken cancellation = default)
Parameters
typeTypecancellationCancellationToken
Returns
ReceiveAndConvertAsync<T>(int, CancellationToken)
public virtual Task<T> ReceiveAndConvertAsync<T>(int timeoutMillis, CancellationToken cancellationToken = default)
Parameters
timeoutMillisintcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ReceiveAndConvertAsync<T>(string, int, CancellationToken)
public virtual Task<T> ReceiveAndConvertAsync<T>(string queueName, int timeoutMillis, CancellationToken cancellationToken = default)
Parameters
queueNamestringtimeoutMillisintcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ReceiveAndConvertAsync<T>(string, CancellationToken)
public virtual Task<T> ReceiveAndConvertAsync<T>(string queueName, CancellationToken cancellationToken = default)
Parameters
queueNamestringcancellationTokenCancellationToken
Returns
- Task<T>
Type Parameters
T
ReceiveAndConvert<T>(int)
public virtual T ReceiveAndConvert<T>(int timeoutMillis)
Parameters
timeoutMillisint
Returns
- T
Type Parameters
T
ReceiveAndConvert<T>(string)
public virtual T ReceiveAndConvert<T>(string queueName)
Parameters
queueNamestring
Returns
- T
Type Parameters
T
ReceiveAndConvert<T>(string, int)
public virtual T ReceiveAndConvert<T>(string queueName, int timeoutMillis)
Parameters
Returns
- T
Type Parameters
T
ReceiveAndReply<R, S>(Func<R, S>)
public virtual bool ReceiveAndReply<R, S>(Func<R, S> callback)
Parameters
callbackFunc<R, S>
Returns
Type Parameters
RS
ReceiveAndReply<R, S>(Func<R, S>, Func<IMessage, S, Address>)
public virtual bool ReceiveAndReply<R, S>(Func<R, S> callback, Func<IMessage, S, Address> replyToAddressCallback)
Parameters
Returns
Type Parameters
RS
ReceiveAndReply<R, S>(Func<R, S>, string, string)
public virtual bool ReceiveAndReply<R, S>(Func<R, S> callback, string exchange, string routingKey)
Parameters
Returns
Type Parameters
RS
ReceiveAndReply<R, S>(string, Func<R, S>)
public virtual bool ReceiveAndReply<R, S>(string queueName, Func<R, S> callback)
Parameters
Returns
Type Parameters
RS
ReceiveAndReply<R, S>(string, Func<R, S>, Func<IMessage, S, Address>)
public virtual bool ReceiveAndReply<R, S>(string queueName, Func<R, S> callback, Func<IMessage, S, Address> replyToAddressCallback)
Parameters
Returns
Type Parameters
RS
ReceiveAndReply<R, S>(string, Func<R, S>, string, string)
public virtual bool ReceiveAndReply<R, S>(string queueName, Func<R, S> callback, string replyExchange, string replyRoutingKey)
Parameters
Returns
Type Parameters
RS
ReceiveAsync(int, CancellationToken)
public virtual Task<IMessage> ReceiveAsync(int timeoutMillis, CancellationToken cancellationToken = default)
Parameters
timeoutMillisintcancellationTokenCancellationToken
Returns
ReceiveAsync(string, int, CancellationToken)
public virtual Task<IMessage> ReceiveAsync(string queueName, int timeoutMillis, CancellationToken cancellationToken = default)
Parameters
queueNamestringtimeoutMillisintcancellationTokenCancellationToken
Returns
ReceiveAsync(string, CancellationToken)
public virtual Task<IMessage> ReceiveAsync(string queueName, CancellationToken cancellationToken = default)
Parameters
queueNamestringcancellationTokenCancellationToken
Returns
RemoveAfterReceivePostProcessor(IMessagePostProcessor)
public virtual bool RemoveAfterReceivePostProcessor(IMessagePostProcessor afterReceivePostProcessor)
Parameters
afterReceivePostProcessorIMessagePostProcessor
Returns
RemoveBeforePublishPostProcessor(IMessagePostProcessor)
public virtual bool RemoveBeforePublishPostProcessor(IMessagePostProcessor beforePublishPostProcessor)
Parameters
beforePublishPostProcessorIMessagePostProcessor
Returns
ReplyTimedOut(string)
protected virtual void ReplyTimedOut(string correlationId)
Parameters
correlationIdstring
Revoke(IModel)
When called this listener should remove all references to the channel
public virtual void Revoke(IModel channel)
Parameters
channelIModelthe channel
Send(string, IMessage)
public virtual void Send(string routingKey, IMessage message)
Parameters
Send(string, string, IMessage)
public virtual void Send(string exchange, string routingKey, IMessage message)
Parameters
Send(string, string, IMessage, CorrelationData)
public virtual void Send(string exchange, string routingKey, IMessage message, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationData
SendAndReceive(IMessage, CorrelationData)
public virtual IMessage SendAndReceive(IMessage message, CorrelationData correlationData)
Parameters
messageIMessagecorrelationDataCorrelationData
Returns
SendAndReceive(string, IMessage)
public virtual IMessage SendAndReceive(string routingKey, IMessage message)
Parameters
Returns
SendAndReceive(string, IMessage, CorrelationData)
public virtual IMessage SendAndReceive(string routingKey, IMessage message, CorrelationData correlationData)
Parameters
routingKeystringmessageIMessagecorrelationDataCorrelationData
Returns
SendAndReceive(string, string, IMessage)
public virtual IMessage SendAndReceive(string exchange, string routingKey, IMessage message)
Parameters
Returns
SendAndReceive(string, string, IMessage, CorrelationData)
public virtual IMessage SendAndReceive(string exchange, string routingKey, IMessage message, CorrelationData correlationData)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationData
Returns
SendAndReceiveAsync(IMessage, CorrelationData, CancellationToken)
public virtual Task<IMessage> SendAndReceiveAsync(IMessage message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
messageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
SendAndReceiveAsync(string, IMessage, CorrelationData, CancellationToken)
public virtual Task<IMessage> SendAndReceiveAsync(string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
SendAndReceiveAsync(string, IMessage, CancellationToken)
public virtual Task<IMessage> SendAndReceiveAsync(string routingKey, IMessage message, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageIMessagecancellationTokenCancellationToken
Returns
SendAndReceiveAsync(string, string, IMessage, CorrelationData, CancellationToken)
public virtual Task<IMessage> SendAndReceiveAsync(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
SendAndReceiveAsync(string, string, IMessage, CancellationToken)
public virtual Task<IMessage> SendAndReceiveAsync(string exchange, string routingKey, IMessage message, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageIMessagecancellationTokenCancellationToken
Returns
SendAsync(string, IMessage, CancellationToken)
public virtual Task SendAsync(string routingKey, IMessage message, CancellationToken cancellationToken = default)
Parameters
routingKeystringmessageIMessagecancellationTokenCancellationToken
Returns
SendAsync(string, string, IMessage, CorrelationData, CancellationToken)
public virtual Task SendAsync(string exchange, string routingKey, IMessage message, CorrelationData correlationData, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageIMessagecorrelationDataCorrelationDatacancellationTokenCancellationToken
Returns
SendAsync(string, string, IMessage, CancellationToken)
public virtual Task SendAsync(string exchange, string routingKey, IMessage message, CancellationToken cancellationToken = default)
Parameters
exchangestringroutingKeystringmessageIMessagecancellationTokenCancellationToken
Returns
SendToRabbit(IModel, string, string, bool, IMessage)
protected virtual void SendToRabbit(IModel channel, string exchange, string routingKey, bool mandatory, IMessage message)
Parameters
SetAfterReceivePostProcessors(params IMessagePostProcessor[])
public virtual void SetAfterReceivePostProcessors(params IMessagePostProcessor[] afterReceivePostProcessors)
Parameters
afterReceivePostProcessorsIMessagePostProcessor[]
SetBeforePublishPostProcessors(params IMessagePostProcessor[])
public virtual void SetBeforePublishPostProcessors(params IMessagePostProcessor[] beforePublishPostProcessors)
Parameters
beforePublishPostProcessorsIMessagePostProcessor[]
Start()
public virtual Task Start()
Returns
Stop()
public virtual Task Stop()
Returns
UseDirectReplyTo()
protected virtual bool UseDirectReplyTo()
Returns
WaitForConfirms(int)
public virtual bool WaitForConfirms(int timeoutInMilliseconds)
Parameters
timeoutInMillisecondsint
Returns
WaitForConfirmsOrDie(int)
public virtual void WaitForConfirmsOrDie(int timeoutInMilliseconds)
Parameters
timeoutInMillisecondsint