T
- the primary binding type (e.g. MessageChannel).C
- the consumer properties type.P
- the producer properties type.public interface Binder<T,C extends ConsumerProperties,P extends ProducerProperties>
Modifier and Type | Method and Description |
---|---|
Binding<T> |
bindConsumer(String name,
String group,
T inboundBindTarget,
C consumerProperties)
Bind the target component as a message consumer to the logical entity identified by
the name.
|
Binding<T> |
bindProducer(String name,
T outboundBindTarget,
P producerProperties)
Bind the target component as a message producer to the logical entity identified by
the name.
|
Binding<T> bindConsumer(String name, String group, T inboundBindTarget, C consumerProperties)
name
- the logical identity of the message sourcegroup
- the consumer group to which this consumer belongs - subscriptions are
shared among consumers in the same group (a null
or empty String, must
be treated as an anonymous group that doesn't share the subscription with any other
consumer)inboundBindTarget
- the app interface to be bound as a consumerconsumerProperties
- the consumer propertiesBinding<T> bindProducer(String name, T outboundBindTarget, P producerProperties)
name
- the logical identity of the message targetoutboundBindTarget
- the app interface to be bound as a producerproducerProperties
- the producer propertiesCopyright © 2020 Pivotal Software, Inc.. All rights reserved.