public interface ChannelRegistry
MessageChannel
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, a Spring bean, etc.Modifier and Type | Method and Description |
---|---|
void |
cleanAll(java.lang.String name)
Remove all subscriptions to inter-module channels for this module
and stop any active components that use those channels.
|
void |
inbound(java.lang.String name,
org.springframework.integration.MessageChannel channel)
Register a message consumer
|
void |
outbound(java.lang.String name,
org.springframework.integration.MessageChannel channel)
Register a message producer
|
void |
tap(java.lang.String tapModule,
java.lang.String name,
org.springframework.integration.MessageChannel channel)
Create a tap on an already registered inbound channel
|
void inbound(java.lang.String name, org.springframework.integration.MessageChannel channel)
name
- the logical identity of the message sourcechannel
- the channel bound as a consumervoid outbound(java.lang.String name, org.springframework.integration.MessageChannel channel)
name
- the logical identity of the message targetchannel
- the channel bound as a producervoid tap(java.lang.String tapModule, java.lang.String name, org.springframework.integration.MessageChannel channel)
tapModule
- the name of the tap modulename
- the registered namechannel
- the channel that will receive messages from the tapvoid cleanAll(java.lang.String name)
name
- the module name