org.springframework.batch.retry.jms
Class ExternalRetryTests
java.lang.Object
AbstractDependencyInjectionSpringContextTests
org.springframework.batch.retry.jms.ExternalRetryTests
public class ExternalRetryTests
- extends AbstractDependencyInjectionSpringContextTests
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalRetryTests
public ExternalRetryTests()
setDataSource
public void setDataSource(DataSource dataSource)
setTransactionManager
public void setTransactionManager(PlatformTransactionManager transactionManager)
setJmsTemplate
public void setJmsTemplate(JmsTemplate jmsTemplate)
getConfigLocations
protected String[] getConfigLocations()
onSetUp
protected void onSetUp()
throws Exception
- Throws:
Exception
testExternalRetrySuccessOnSecondAttempt
public void testExternalRetrySuccessOnSecondAttempt()
throws Exception
- Message processing is successful on the second attempt but must receive
the message again.
- Throws:
Exception
testExternalRetryWithRecovery
public void testExternalRetryWithRecovery()
throws Exception
- Message processing fails on both attempts.
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.