Class AbstractPollableMessageSourceBinder
public abstract class AbstractPollableMessageSourceBinder : AbstractMessageChannelBinder, IBinder<IMessageChannel>, IPollableConsumerBinder<IMessageHandler>, IBinder<IPollableSource<IMessageHandler>>, IBinder, IServiceNameAware, IDisposable, IPollableConsumerBinder- Inheritance
- 
      
      
      
      AbstractPollableMessageSourceBinder
- Implements
- Derived
- Inherited Members
Constructors
AbstractPollableMessageSourceBinder(IApplicationContext, string[], IProvisioningProvider, ILogger)
protected AbstractPollableMessageSourceBinder(IApplicationContext context, string[] headersToEmbed, IProvisioningProvider provisioningProvider, ILogger logger)Parameters
- contextIApplicationContext
- headersToEmbedstring[]
- provisioningProviderIProvisioningProvider
- loggerILogger
AbstractPollableMessageSourceBinder(IApplicationContext, string[], IProvisioningProvider, IListenerContainerCustomizer, IMessageSourceCustomizer, ILogger)
protected AbstractPollableMessageSourceBinder(IApplicationContext context, string[] headersToEmbed, IProvisioningProvider provisioningProvider, IListenerContainerCustomizer containerCustomizer, IMessageSourceCustomizer sourceCustomizer, ILogger logger)Parameters
- contextIApplicationContext
- headersToEmbedstring[]
- provisioningProviderIProvisioningProvider
- containerCustomizerIListenerContainerCustomizer
- sourceCustomizerIMessageSourceCustomizer
- loggerILogger
Methods
BindConsumer(string, string, IPollableSource<IMessageHandler>, IConsumerOptions)
Bind the target component as a message consumer to the logical entity identified by the name.
public virtual IBinding BindConsumer(string name, string group, IPollableSource<IMessageHandler> inboundTarget, IConsumerOptions consumerOptions)Parameters
- namestring
- the logical identity of the message source 
- groupstring
- the consumer group to which this consumer belongs 
- inboundTargetIPollableSource<IMessageHandler>
- the application interface to be bound as a consumer 
- consumerOptionsIConsumerOptions
- the consumer options 
Returns
- IBinding
- the setup binding 
BindConsumer(string, string, object, IConsumerOptions)
Bind the target component as a message consumer to the logical entity identified by the name.
public override IBinding BindConsumer(string name, string group, object inboundTarget, IConsumerOptions consumerOptions)Parameters
- namestring
- the logical identity of the message source 
- groupstring
- the consumer group to which this consumer belongs 
- inboundTargetobject
- the application interface to be bound as a consumer 
- consumerOptionsIConsumerOptions
- the consumer options 
Returns
- IBinding
- the setup binding 
BindProducer(string, IPollableSource<IMessageHandler>, IProducerOptions)
Bind the target component as a message producer to the logical entity identified by the name.
public virtual IBinding BindProducer(string name, IPollableSource<IMessageHandler> outboundTarget, IProducerOptions producerOptions)Parameters
- namestring
- the logical identity of the message outbound target 
- outboundTargetIPollableSource<IMessageHandler>
- the application interface to be bound as a producer 
- producerOptionsIProducerOptions
- the producer options 
Returns
- IBinding
- the setup binding 
CreatePolledConsumerResources(string, string, IConsumerDestination, IConsumerOptions)
protected virtual AbstractMessageChannelBinder.PolledConsumerResources CreatePolledConsumerResources(string name, string group, IConsumerDestination destination, IConsumerOptions consumerOptions)Parameters
- namestring
- groupstring
- destinationIConsumerDestination
- consumerOptionsIConsumerOptions
Returns
GetPolledConsumerRecoveryCallback(ErrorInfrastructure, IConsumerOptions)
protected virtual IRecoveryCallback GetPolledConsumerRecoveryCallback(AbstractMessageChannelBinder.ErrorInfrastructure errorInfrastructure, IConsumerOptions options)Parameters
- errorInfrastructureAbstractMessageChannelBinder.ErrorInfrastructure
- optionsIConsumerOptions
Returns
PostProcessPollableSource(DefaultPollableMessageSource)
protected virtual void PostProcessPollableSource(DefaultPollableMessageSource bindingTarget)Parameters
- bindingTargetDefaultPollableMessageSource