org.springframework.batch.retry.jms
Class ExternalRetryTests

java.lang.Object
  extended by AbstractDependencyInjectionSpringContextTests
      extended by org.springframework.batch.retry.jms.ExternalRetryTests

public class ExternalRetryTests
extends AbstractDependencyInjectionSpringContextTests


Constructor Summary
ExternalRetryTests()
           
 
Method Summary
protected  String[] getConfigLocations()
           
protected  void onSetUp()
           
 void setDataSource(DataSource dataSource)
           
 void setJmsTemplate(JmsTemplate jmsTemplate)
           
 void setTransactionManager(PlatformTransactionManager transactionManager)
           
 void testExternalRetrySuccessOnSecondAttempt()
          Message processing is successful on the second attempt but must receive the message again.
 void testExternalRetryWithRecovery()
          Message processing fails on both attempts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalRetryTests

public ExternalRetryTests()
Method Detail

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.