Interface IBinder
A strategy interface used to bind an app interface to a logical name. The name is intended to identify a logical consumer or producer of messages. This may be a queue, a channel adapter, another message channel, etc.
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public interface IBinder : IServiceNameAware, IDisposable- Inherited Members
Properties
TargetType
Gets the target type this binder can bind to
Type TargetType { get; }Property Value
Methods
BindConsumer(string, string, object, IConsumerOptions)
Bind the target component as a message consumer to the logical entity identified by the name.
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, object, IProducerOptions)
Bind the target component as a message producer to the logical entity identified by the name.
IBinding BindProducer(string name, object outboundTarget, IProducerOptions producerOptions)Parameters
- namestring
- the logical identity of the message outbound target 
- outboundTargetobject
- the application interface to be bound as a producer 
- producerOptionsIProducerOptions
- the producer options 
Returns
- IBinding
- the setup binding