org.kuali.rice.ksb.messaging.exceptionhandling
Class ExceptionMessagingTest
java.lang.Object
   org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.BaseRiceTestCase
       org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceTestCase
           org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
               org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaseModuleTestCase
                   org.kuali.rice.test.BaselineTestCase
org.kuali.rice.test.BaselineTestCase
                       org.kuali.rice.ksb.test.KSBTestCase
org.kuali.rice.ksb.test.KSBTestCase
                           org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest
org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest
- All Implemented Interfaces: 
- MethodAware
- public class ExceptionMessagingTest 
- extends KSBTestCase
Tests various exception messaging cases
 Millis to live - that a message with no home is still sending messages while it's time to live hasn't expired
 Retry count - that a message configured with a retry count will send x number of messages before being marked exception
 Being marked as exception - that a message in exception is in the route log and marked with a status of 'E'
 Defuault retry count - that a message configured with no retry or time to live is retry the default number of times as
        noted in an app constant and a class default if that constant is not a number or doesn't exist
 App Constant to determine the default time increment works (we need this to effectively test anyway)
 Things work without the timeincrement constant in place
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
 
 
 
 
| Method Summary | 
|  void | setUp()
 | 
|  void | tearDown()
 | 
|  void | testTimeToLive()test that service is in queue marked 'E' when the time to live is expired.
 | 
 
 
 
 
 
| Methods inherited from class org.kuali.rice.test.RiceTestCase | 
| configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ExceptionMessagingTest
public ExceptionMessagingTest()
setUp
public void setUp()
           throws Exception
- 
- Overrides:
- setUpin class- KSBTestCase
 
- 
- Throws:
- Exception
 
tearDown
public void tearDown()
              throws Exception
- 
- Overrides:
- tearDownin class- RiceTestCase
 
- 
- Throws:
- Exception
 
testTimeToLive
public void testTimeToLive()
                    throws Exception
- test that service is in queue marked 'E' when the time to live is expired.
 
- 
- Throws:
- Exception
 
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.