类 JmsMethodInvocationRecoverer<T>

  • 所有已实现的接口:
    org.springframework.retry.interceptor.MethodInvocationRecoverer<T>

    public class JmsMethodInvocationRecoverer<T>
    extends java.lang.Object
    implements org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
    作者:
    Dave Syer, Mahmoud Ben Hassine
    • 字段概要

      字段 
      修饰符和类型字段说明
      protected org.apache.commons.logging.Loglogger 
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      Trecover​(java.lang.Object[] items, java.lang.Throwable cause)
      Send one message per item in the arguments list using the default destination of the jms template.
      voidsetJmsTemplate​(org.springframework.jms.core.JmsOperations jmsTemplate)
      Setter for jms template.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • logger

        protected org.apache.commons.logging.Log logger
    • 方法详细资料

      • setJmsTemplate

        public void setJmsTemplate​(org.springframework.jms.core.JmsOperations jmsTemplate)
        Setter for jms template.
        参数:
        jmsTemplate - a JmsOperations instance
      • recover

        @Nullable
        public T recover​(java.lang.Object[] items,
                         java.lang.Throwable cause)
        Send one message per item in the arguments list using the default destination of the jms template. If the recovery is successful null is returned.
        指定者:
        recover 在接口中 org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
        另请参阅:
        MethodInvocationRecoverer.recover(Object[], Throwable)