public class JmsMethodInvocationRecoverer<T> extends Object implements org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
JmsMethodInvocationRecoverer() |
Modifier and Type | Method and Description |
---|---|
T |
recover(Object[] items,
Throwable cause)
Send one message per item in the arguments list using the default destination of
the jms template.
|
void |
setJmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
Setter for jms template.
|
public void setJmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
jmsTemplate
- a JmsOperations
instancepublic T recover(Object[] items, Throwable cause)
recover
in interface org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
MethodInvocationRecoverer.recover(Object[],
Throwable)
Copyright © 2014 Pivotal. All rights reserved.