Class CompositeMessageChannelConfigurer
java.lang.Object
org.springframework.cloud.stream.binding.CompositeMessageChannelConfigurer
- All Implemented Interfaces:
MessageChannelAndSourceConfigurer
,MessageChannelConfigurer
public class CompositeMessageChannelConfigurer
extends Object
implements MessageChannelAndSourceConfigurer
MessageChannelConfigurer
that composes all the message channel configurers.- Author:
- Ilayaperumal Gopinathan
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeMessageChannelConfigurer
(List<MessageChannelConfigurer> messageChannelConfigurers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configureInputChannel
(org.springframework.messaging.MessageChannel messageChannel, String channelName) Configure the given input message channel.void
configureOutputChannel
(org.springframework.messaging.MessageChannel messageChannel, String channelName) Configure the given output message channel.void
configurePolledMessageSource
(PollableMessageSource binding, String name) Configure the provided message source binding.
-
Constructor Details
-
CompositeMessageChannelConfigurer
-
-
Method Details
-
configureInputChannel
public void configureInputChannel(org.springframework.messaging.MessageChannel messageChannel, String channelName) Description copied from interface:MessageChannelConfigurer
Configure the given input message channel.- Specified by:
configureInputChannel
in interfaceMessageChannelConfigurer
- Parameters:
messageChannel
- the message channelchannelName
- name of the message channel
-
configureOutputChannel
public void configureOutputChannel(org.springframework.messaging.MessageChannel messageChannel, String channelName) Description copied from interface:MessageChannelConfigurer
Configure the given output message channel.- Specified by:
configureOutputChannel
in interfaceMessageChannelConfigurer
- Parameters:
messageChannel
- the message channelchannelName
- name of the message channel
-
configurePolledMessageSource
Description copied from interface:MessageChannelAndSourceConfigurer
Configure the provided message source binding.- Specified by:
configurePolledMessageSource
in interfaceMessageChannelAndSourceConfigurer
- Parameters:
binding
- the binding.name
- the name.
-