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 |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getChannelMappings() |
void |
removeChannelMapping(java.lang.String key)
Remove a channel mapping for the given key if present.
|
void |
replaceChannelMappings(java.util.Properties channelMappings)
Provide mappings from channel keys to channel names.
|
void |
setChannelMapping(java.lang.String key,
java.lang.String channelName)
Add a channel mapping from the provided key to channel name.
|
void |
setChannelMappings(java.util.Map<java.lang.String,java.lang.String> channelMappings)
Provide mappings from channel keys to channel names.
|
@ManagedOperation void setChannelMapping(java.lang.String key, java.lang.String channelName)
key
- The key.channelName
- The channel name.@ManagedOperation void removeChannelMapping(java.lang.String key)
key
- The key.@ManagedOperation void replaceChannelMappings(java.util.Properties channelMappings)
channelMappings
- The channel mappings.@ManagedAttribute java.util.Map<java.lang.String,java.lang.String> getChannelMappings()
@ManagedAttribute void setChannelMappings(java.util.Map<java.lang.String,java.lang.String> channelMappings)
DestinationResolver
.channelMappings
- The channel mappings.