|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.jms.JmsMethodInvocationRecoverer<T>
public class JmsMethodInvocationRecoverer<T>
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
JmsMethodInvocationRecoverer()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public JmsMethodInvocationRecoverer()
| Method Detail |
|---|
public void setJmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
jmsTemplate - a JmsOperations instance
public T recover(java.lang.Object[] items,
java.lang.Throwable cause)
recover in interface MethodInvocationRecoverer<T>items - the arguments for the method invocation that failed.cause - the cause of the failure that led to this recovery.
MethodInvocationRecoverer.recover(Object[],
Throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||