インターフェース MappingMessageRouterManagement

すべての既知の実装クラス:
AbstractMappingMessageRouterErrorMessageExceptionTypeRouterExpressionEvaluatingRouterHeaderValueRouterMethodInvokingRouterPayloadTypeRouterXPathRouter

public interface MappingMessageRouterManagement
ルータがプロキシされるときにチャネルマッピング操作を公開します。setChannelMappings(Map) も公開されています。これは制御バスでは使用できませんが、プログラムまたは JMX 経由で使用できます。
導入:
2.1
作成者:
Gary Russell
  • メソッドの詳細

    • setChannelMapping

      @ManagedOperation void setChannelMapping(StringSE key, StringSE channelName)
      提供されたキーからチャネル名へのチャネルマッピングを追加します。
      パラメーター:
      key - キー。
      channelName - チャンネル名。
    • removeChannelMapping

      @ManagedOperation void removeChannelMapping(StringSE key)
      存在する場合、指定されたキーのチャネルマッピングを削除します。
      パラメーター:
      key - キー。
    • replaceChannelMappings

      @ManagedOperation void replaceChannelMappings(PropertiesSE channelMappings)
      チャネルキーからチャネル名へのマッピングを提供します。
      パラメーター:
      channelMappings - チャネルマッピング。
      導入:
      4.0
    • getChannelMappings

      @ManagedAttribute MapSE<StringSE,StringSE> getChannelMappings()
      戻り値:
      チャネルマッピングの変更不可能なマップ。
      導入:
      4.0
    • setChannelMappings

      @ManagedAttribute void setChannelMappings(MapSE<StringSE,StringSE> channelMappings)
      チャネルキーからチャネル名へのマッピングを提供します。チャネル名は DestinationResolver によって解決されます。
      パラメーター:
      channelMappings - チャネルマッピング。
      導入:
      4.0
    • getDynamicChannelNames

      @ManagedAttribute CollectionSE<StringSE> getDynamicChannelNames()
      チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクションを提供します。

      実装は、最新のチャネル名のみを返すことを選択できます。

      戻り値:
      チャネルが明示的にマッピングされていないメッセージをルーティングしたチャネル名のコレクション。
      導入:
      4.3