クラス JmsMethodInvocationRecoverer<T>

java.lang.ObjectSE
org.springframework.batch.item.jms.JmsMethodInvocationRecoverer<T>
実装されたすべてのインターフェース:
org.springframework.retry.interceptor.MethodInvocationRecoverer<T>

public class JmsMethodInvocationRecoverer<T> extends ObjectSE implements org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
作成者:
Dave Syer, Mahmoud Ben Hassine
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    protected org.apache.commons.logging.Log
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    recover(ObjectSE[] items, ThrowableSE cause)
    jms テンプレートのデフォルトの宛先を使用して、引数リストの項目ごとに 1 つのメッセージを送信します。
    void
    setJmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
    jms テンプレート用の Setter。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • フィールドの詳細

    • logger

      protected org.apache.commons.logging.Log logger
  • コンストラクターの詳細

    • JmsMethodInvocationRecoverer

      public JmsMethodInvocationRecoverer()
  • メソッドの詳細

    • setJmsTemplate

      public void setJmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
      jms テンプレート用の Setter。
      パラメーター:
      jmsTemplate - JmsOperations インスタンス
    • recover

      @Nullable public T recover(ObjectSE[] items, ThrowableSE cause)
      jms テンプレートのデフォルトの宛先を使用して、引数リストの項目ごとに 1 つのメッセージを送信します。リカバリが成功すると、null が返されます。
      次で指定:
      インターフェース org.springframework.retry.interceptor.MethodInvocationRecoverer<T>recover 
      関連事項:
      • MethodInvocationRecoverer.recover(Object[], Throwable)