public class JmsMethodInvocationRecoverer<T>
extends java.lang.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(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.
|
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(java.lang.Object[] items, java.lang.Throwable cause)
recover
in interface org.springframework.retry.interceptor.MethodInvocationRecoverer<T>
MethodInvocationRecoverer.recover(Object[],
Throwable)