Class RabbitMessageChannelBinder
Inheritance
System.Object
RabbitMessageChannelBinder
Inherited Members
Steeltoe.Stream.Binder.AbstractBinder<IMessageChannel>.GetRetryableExceptions(List<>)
Assembly: Steeltoe.Stream.Binder.RabbitMQ.dll
Syntax
public class RabbitMessageChannelBinder : AbstractPollableMessageSourceBinder
Constructors
|
Edit this page
View Source
RabbitMessageChannelBinder(IApplicationContext, ILogger<RabbitMessageChannelBinder>, IConnectionFactory, IOptionsMonitor<RabbitOptions>, IOptionsMonitor<RabbitBinderOptions>, IOptionsMonitor<RabbitBindingsOptions>, RabbitExchangeQueueProvisioner)
Declaration
public RabbitMessageChannelBinder(IApplicationContext context, ILogger<RabbitMessageChannelBinder> logger, IConnectionFactory connectionFactory, IOptionsMonitor<RabbitOptions> rabbitOptions, IOptionsMonitor<RabbitBinderOptions> binderOptions, IOptionsMonitor<RabbitBindingsOptions> bindingsOptions, RabbitExchangeQueueProvisioner provisioningProvider)
Parameters
|
Edit this page
View Source
RabbitMessageChannelBinder(IApplicationContext, ILogger<RabbitMessageChannelBinder>, IConnectionFactory, IOptionsMonitor<RabbitOptions>, IOptionsMonitor<RabbitBinderOptions>, IOptionsMonitor<RabbitBindingsOptions>, RabbitExchangeQueueProvisioner, IListenerContainerCustomizer)
Declaration
public RabbitMessageChannelBinder(IApplicationContext context, ILogger<RabbitMessageChannelBinder> logger, IConnectionFactory connectionFactory, IOptionsMonitor<RabbitOptions> rabbitOptions, IOptionsMonitor<RabbitBinderOptions> binderOptions, IOptionsMonitor<RabbitBindingsOptions> bindingsOptions, RabbitExchangeQueueProvisioner provisioningProvider, IListenerContainerCustomizer containerCustomizer)
Parameters
|
Edit this page
View Source
RabbitMessageChannelBinder(IApplicationContext, ILogger<RabbitMessageChannelBinder>, IConnectionFactory, IOptionsMonitor<RabbitOptions>, IOptionsMonitor<RabbitBinderOptions>, IOptionsMonitor<RabbitBindingsOptions>, RabbitExchangeQueueProvisioner, IListenerContainerCustomizer, IMessageSourceCustomizer)
Declaration
public RabbitMessageChannelBinder(IApplicationContext context, ILogger<RabbitMessageChannelBinder> logger, IConnectionFactory connectionFactory, IOptionsMonitor<RabbitOptions> rabbitOptions, IOptionsMonitor<RabbitBinderOptions> binderOptions, IOptionsMonitor<RabbitBindingsOptions> bindingsOptions, RabbitExchangeQueueProvisioner provisioningProvider, IListenerContainerCustomizer containerCustomizer, IMessageSourceCustomizer sourceCustomizer)
Parameters
Fields
|
Edit this page
View Source
_logger
Declaration
protected ILogger _logger
Field Value
Properties
|
Edit this page
View Source
AdminAddresses
Declaration
public string[] AdminAddresses { get; set; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
BinderOptions
Declaration
public RabbitBinderOptions BinderOptions { get; }
Property Value
|
Edit this page
View Source
BindingsOptions
Declaration
public RabbitBindingsOptions BindingsOptions { get; }
Property Value
|
Edit this page
View Source
Clustered
Declaration
public bool Clustered { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
CompressingPostProcessor
Declaration
public IMessagePostProcessor CompressingPostProcessor { get; set; }
Property Value
|
Edit this page
View Source
ConnectionFactory
Declaration
public IConnectionFactory ConnectionFactory { get; }
Property Value
|
Edit this page
View Source
DecompressingPostProcessor
Declaration
public IMessagePostProcessor DecompressingPostProcessor { get; set; }
Property Value
|
Edit this page
View Source
Nodes
Declaration
public string[] Nodes { get; set; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
ProvisioningProvider
Declaration
protected RabbitExchangeQueueProvisioner ProvisioningProvider { get; }
Property Value
|
Edit this page
View Source
RabbitConnectionOptions
Declaration
public IOptionsMonitor<RabbitOptions> RabbitConnectionOptions { get; }
Property Value
|
Edit this page
View Source
ServiceName
Declaration
public override string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Steeltoe.Stream.Binder.AbstractBinder<IMessageChannel>.ServiceName
Methods
|
Edit this page
View Source
AfterUnbindConsumer(IConsumerDestination, String, IConsumerOptions)
Declaration
protected override void AfterUnbindConsumer(IConsumerDestination destination, string group, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
IConsumerDestination |
destination |
|
System.String |
group |
|
IConsumerOptions |
consumerOptions |
|
|
Edit this page
View Source
CreateConsumerEndpoint(IConsumerDestination, String, IConsumerOptions)
Declaration
protected override IMessageProducer CreateConsumerEndpoint(IConsumerDestination destination, string group, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
IConsumerDestination |
destination |
|
System.String |
group |
|
IConsumerOptions |
consumerOptions |
|
Returns
Type |
Description |
IMessageProducer |
|
|
Edit this page
View Source
CreatePolledConsumerResources(String, String, IConsumerDestination, IConsumerOptions)
Declaration
protected override AbstractMessageChannelBinder.PolledConsumerResources CreatePolledConsumerResources(string name, string group, IConsumerDestination destination, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
group |
|
IConsumerDestination |
destination |
|
IConsumerOptions |
consumerOptions |
|
Returns
|
Edit this page
View Source
CreateProducerMessageHandler(IProducerDestination, IProducerOptions, IMessageChannel)
Declaration
protected override IMessageHandler CreateProducerMessageHandler(IProducerDestination destination, IProducerOptions producerProperties, IMessageChannel errorChannel)
Parameters
Type |
Name |
Description |
IProducerDestination |
destination |
|
IProducerOptions |
producerProperties |
|
IMessageChannel |
errorChannel |
|
Returns
Type |
Description |
IMessageHandler |
|
|
Edit this page
View Source
Dispose()
Declaration
public override void Dispose()
Overrides
Steeltoe.Stream.Binder.AbstractBinder<IMessageChannel>.Dispose()
|
Edit this page
View Source
GetConsumerOptions(String)
Declaration
public RabbitConsumerOptions GetConsumerOptions(string channelName)
Parameters
Type |
Name |
Description |
System.String |
channelName |
|
Returns
|
Edit this page
View Source
GetErrorMessageHandler(IConsumerDestination, String, IConsumerOptions)
Declaration
protected override IMessageHandler GetErrorMessageHandler(IConsumerDestination destination, string group, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
IConsumerDestination |
destination |
|
System.String |
group |
|
IConsumerOptions |
consumerOptions |
|
Returns
Type |
Description |
IMessageHandler |
|
|
Edit this page
View Source
GetErrorMessageStrategy()
Declaration
protected override IErrorMessageStrategy GetErrorMessageStrategy()
Returns
Type |
Description |
IErrorMessageStrategy |
|
Overrides
|
Edit this page
View Source
GetErrorsBaseName(IConsumerDestination, String, IConsumerOptions)
Declaration
protected override string GetErrorsBaseName(IConsumerDestination destination, string group, IConsumerOptions consumerOptions)
Parameters
Type |
Name |
Description |
IConsumerDestination |
destination |
|
System.String |
group |
|
IConsumerOptions |
consumerOptions |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetPolledConsumerErrorMessageHandler(IConsumerDestination, String, IConsumerOptions)
Declaration
protected override IMessageHandler GetPolledConsumerErrorMessageHandler(IConsumerDestination destination, string group, IConsumerOptions consumerProperties)
Parameters
Type |
Name |
Description |
IConsumerDestination |
destination |
|
System.String |
group |
|
IConsumerOptions |
consumerProperties |
|
Returns
Type |
Description |
IMessageHandler |
|
|
Edit this page
View Source
GetProducerOptions(String)
Declaration
public RabbitProducerOptions GetProducerOptions(string channelName)
Parameters
Type |
Name |
Description |
System.String |
channelName |
|
Returns
|
Edit this page
View Source
Initialize()
Declaration
|
Edit this page
View Source
PostProcessOutputChannel(IMessageChannel, IProducerOptions)
Declaration
protected override void PostProcessOutputChannel(IMessageChannel outputChannel, IProducerOptions producerOptions)
Parameters
Type |
Name |
Description |
IMessageChannel |
outputChannel |
|
IProducerOptions |
producerOptions |
|
|
Edit this page
View Source
PostProcessPollableSource(DefaultPollableMessageSource)
Declaration
protected override void PostProcessPollableSource(DefaultPollableMessageSource bindingTarget)
Parameters
Overrides
Implements