クラス ClaimCheckOutTransformer

実装済みのインターフェース一覧:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ComponentSourceAware, ExpressionCapable, GenericTransformer<Message<?>, Message<?>>, IntegrationPattern, NamedComponent, Transformer

public class ClaimCheckOutTransformer extends AbstractTransformer implements IntegrationPattern
ペイロードが UUID であるメッセージを受け入れ、その ID に関連付けられたメッセージを MessageStore から取得する Transformer(使用可能な場合)。指定された MessageStore からその ID のメッセージを取得できない場合、例外がスローされます。
導入:
2.0
作成者:
Mark Fisher, Oleg Zhurakousky, Nick Spacek, Artem Bilan, Trung Pham
  • コンストラクターの詳細

    • ClaimCheckOutTransformer

      public ClaimCheckOutTransformer(MessageStore messageStore)
      提供された MessageStore に委譲するクレームチェックアウトトランスフォーマーを作成します。
      パラメーター:
      messageStore - メッセージストア。
  • 方法の詳細

    • setRemoveMessage

      public void setRemoveMessage(boolean removeMessage)
    • getComponentType

      public StringSE getComponentType()
      次で指定:
      インターフェース NamedComponent 内の getComponentType 
    • getIntegrationPatternType

      public IntegrationPatternType getIntegrationPatternType()
      インターフェースからコピーされた説明: IntegrationPattern
      このコンポーネントが実装するパターン型を返します。
      次で指定:
      インターフェース IntegrationPattern 内の getIntegrationPatternType 
      戻り値:
      このコンポーネントが実装する IntegrationPatternType
    • doTransform

      protected ObjectSE doTransform(Message<?> message)
      クラスからコピーされた説明: AbstractTransformer
      サブクラスは、変換ロジックを提供するためにこのメソッドを実装する必要があります。戻り値自体がメッセージの場合、結果として使用されます。そうでない場合、null 以外の戻り値が結果メッセージのペイロードとして使用されます。
      次で指定:
      クラス AbstractTransformerdoTransform 
      パラメーター:
      message - メッセージ。
      戻り値:
      変換の結果。