Table of Contents

Class AbstractPollableMessageSourceBinder

Namespace
Steeltoe.Stream.Binder
Assembly
Steeltoe.Stream.StreamBase.dll
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

context IApplicationContext
headersToEmbed string[]
provisioningProvider IProvisioningProvider
logger ILogger

AbstractPollableMessageSourceBinder(IApplicationContext, string[], IProvisioningProvider, IListenerContainerCustomizer, IMessageSourceCustomizer, ILogger)

protected AbstractPollableMessageSourceBinder(IApplicationContext context, string[] headersToEmbed, IProvisioningProvider provisioningProvider, IListenerContainerCustomizer containerCustomizer, IMessageSourceCustomizer sourceCustomizer, ILogger logger)

Parameters

context IApplicationContext
headersToEmbed string[]
provisioningProvider IProvisioningProvider
containerCustomizer IListenerContainerCustomizer
sourceCustomizer IMessageSourceCustomizer
logger ILogger

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

name string

the logical identity of the message source

group string

the consumer group to which this consumer belongs

inboundTarget IPollableSource<IMessageHandler>

the application interface to be bound as a consumer

consumerOptions IConsumerOptions

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

name string

the logical identity of the message source

group string

the consumer group to which this consumer belongs

inboundTarget object

the application interface to be bound as a consumer

consumerOptions IConsumerOptions

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

name string

the logical identity of the message outbound target

outboundTarget IPollableSource<IMessageHandler>

the application interface to be bound as a producer

producerOptions IProducerOptions

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

name string
group string
destination IConsumerDestination
consumerOptions IConsumerOptions

Returns

AbstractMessageChannelBinder.PolledConsumerResources

GetPolledConsumerRecoveryCallback(ErrorInfrastructure, IConsumerOptions)

protected virtual IRecoveryCallback GetPolledConsumerRecoveryCallback(AbstractMessageChannelBinder.ErrorInfrastructure errorInfrastructure, IConsumerOptions options)

Parameters

errorInfrastructure AbstractMessageChannelBinder.ErrorInfrastructure
options IConsumerOptions

Returns

IRecoveryCallback

PostProcessPollableSource(DefaultPollableMessageSource)

protected virtual void PostProcessPollableSource(DefaultPollableMessageSource bindingTarget)

Parameters

bindingTarget DefaultPollableMessageSource