インターフェース MappingMessageRouterManagement
- すべての既知の実装クラス:
AbstractMappingMessageRouter、ErrorMessageExceptionTypeRouter、ExpressionEvaluatingRouter、HeaderValueRouter、MethodInvokingRouter、PayloadTypeRouter、XPathRouter
public interface MappingMessageRouterManagement
ルータがプロキシされるときにチャネルマッピング操作を公開します。
setChannelMappings(Map) も公開されています。これは制御バスでは使用できませんが、プログラムまたは JMX 経由で使用できます。- 導入:
- 2.1
- 作成者:
- Gary Russell
メソッドのサマリー
修飾子と型メソッド説明チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクションを提供します。void存在する場合、指定されたキーのチャネルマッピングを削除します。voidreplaceChannelMappings(PropertiesSE channelMappings) チャネルキーからチャネル名へのマッピングを提供します。voidsetChannelMapping(StringSE key, StringSE channelName) 提供されたキーからチャネル名へのチャネルマッピングを追加します。voidsetChannelMappings(MapSE<StringSE, StringSE> channelMappings) チャネルキーからチャネル名へのマッピングを提供します。
メソッドの詳細
setChannelMapping
提供されたキーからチャネル名へのチャネルマッピングを追加します。- パラメーター:
key- キー。channelName- チャンネル名。
removeChannelMapping
存在する場合、指定されたキーのチャネルマッピングを削除します。- パラメーター:
key- キー。
replaceChannelMappings
チャネルキーからチャネル名へのマッピングを提供します。- パラメーター:
channelMappings- チャネルマッピング。- 導入:
- 4.0
getChannelMappings
- 戻り値:
- チャネルマッピングの変更不可能なマップ。
- 導入:
- 4.0
setChannelMappings
チャネルキーからチャネル名へのマッピングを提供します。チャネル名はDestinationResolverによって解決されます。- パラメーター:
channelMappings- チャネルマッピング。- 導入:
- 4.0
getDynamicChannelNames
チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクションを提供します。実装は、最新のチャネル名のみを返すことを選択できます。
- 戻り値:
- チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクション。
- 導入:
- 4.3