public interface MappingMessageRouterManagement
setChannelMappings(Map)
も公開されています。これは制御バスでは使用できませんが、プログラムまたは JMX 経由で使用できます。修飾子と型 | メソッドと説明 |
---|---|
MapSE<StringSE, StringSE> | getChannelMappings() |
CollectionSE<StringSE> | getDynamicChannelNames() チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクションを提供します。 |
void | removeChannelMapping(StringSE key) 存在する場合、指定されたキーのチャネルマッピングを削除します。 |
void | replaceChannelMappings(PropertiesSE channelMappings) チャネルキーからチャネル名へのマッピングを提供します。 |
void | setChannelMapping(StringSE key, StringSE channelName) 提供されたキーからチャネル名へのチャネルマッピングを追加します。 |
void | setChannelMappings(MapSE<StringSE, StringSE> channelMappings) チャネルキーからチャネル名へのマッピングを提供します。 |
@ManagedOperation void setChannelMapping(StringSE key, StringSE channelName)
key
- キー。channelName
- チャンネル名。@ManagedOperation void removeChannelMapping(StringSE key)
key
- キー。@ManagedOperation void replaceChannelMappings(PropertiesSE channelMappings)
channelMappings
- チャネルマッピング。@ManagedAttribute MapSE<StringSE,StringSE> getChannelMappings()
@ManagedAttribute void setChannelMappings(MapSE<StringSE,StringSE> channelMappings)
DestinationResolver
によって解決されます。channelMappings
- チャネルマッピング。@ManagedAttribute CollectionSE<StringSE> getDynamicChannelNames()
実装は、最新のチャネル名のみを返すことを選択できます。