Spring Integration

org.springframework.integration.channel.registry
Interface ChannelRegistry

All Known Implementing Classes:
LocalChannelRegistry

public interface ChannelRegistry

A strategy interface used to bind a 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.

Since:
3.0
Author:
Mark Fisher, David Turanski

Method Summary
 void inbound(java.lang.String name, MessageChannel channel)
          Register a message consumer
 void outbound(java.lang.String name, MessageChannel channel)
          Register a message producer
 void tap(java.lang.String name, MessageChannel channel)
          Create a tap on an already registered inbound channel
 

Method Detail

inbound

void inbound(java.lang.String name,
             MessageChannel channel)
Register a message consumer

Parameters:
name - the logical identity of the message source
channel - the channel bound as a consumer

outbound

void outbound(java.lang.String name,
              MessageChannel channel)
Register a message producer

Parameters:
name - the logical identity of the message target
channel - the channel bound as a producer

tap

void tap(java.lang.String name,
         MessageChannel channel)
Create a tap on an already registered inbound channel

Parameters:
name - the registered name
channel - the channel that will receive messages from the tap

Spring Integration