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() |
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.