public interface MappingMessageRouterManagement
setChannelMappings(Map) is also exposed. This cannot
 be used with a control-bus, but it can be used programmatically
 or over JMX.| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
getChannelMappings()  | 
Collection<String> | 
getDynamicChannelNames()
Provide a collection of channel names to which
 we have routed messages where the channel was not explicitly mapped. 
 | 
void | 
removeChannelMapping(String key)
Remove a channel mapping for the given key if present. 
 | 
void | 
replaceChannelMappings(Properties channelMappings)
Provide mappings from channel keys to channel names. 
 | 
void | 
setChannelMapping(String key,
                 String channelName)
Add a channel mapping from the provided key to channel name. 
 | 
void | 
setChannelMappings(Map<String,String> channelMappings)
Provide mappings from channel keys to channel names. 
 | 
@ManagedOperation void setChannelMapping(String key, String channelName)
key - The key.channelName - The channel name.@ManagedOperation void removeChannelMapping(String key)
key - The key.@ManagedOperation void replaceChannelMappings(Properties channelMappings)
channelMappings - The channel mappings.@ManagedAttribute Map<String,String> getChannelMappings()
@ManagedAttribute void setChannelMappings(Map<String,String> channelMappings)
DestinationResolver.channelMappings - The channel mappings.@ManagedAttribute Collection<String> getDynamicChannelNames()
Implementations may choose to return only the most recent channel names.