public class SchedulerMessageRunnerServiceTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.mockito.junit.MockitoRule |
mockitoRule |
| Constructor and Description |
|---|
SchedulerMessageRunnerServiceTest() |
public void messageWithPayloadIsProcessedAtLeastOnce()
throws Exception
Exceptionpublic void messageWithNullPayloadIsProcessedAtLeastOnce()
throws Exception
Exceptionpublic void messageAutoAcknowledgedAndNotRedeliveredAfterSuccessfulProcessing()
throws Exception
Exceptionpublic void failFastIfNoMessageRunnerRegisteredForMessage()
throws Exception
Exceptionpublic void problematicMessageDeliveredMaxDeliveryCountTimes()
throws Exception
Exceptionpublic void addMultipleMessagesSerially()
throws Exception
Exceptionpublic void addMultipleMessagesConcurrently()
throws Exception
Exceptionpublic void jobThatRunsLongerThanJobIntervalAllowedToCompleteOnce()
throws Exception
Exceptionpublic void problematicJobThatRunsLongerThanJobIntervalAllowedToFailMaxDeliveryCountTimes()
throws Exception
Exceptionpublic void messageAckedEarlyDeliveredExactlyOnce()
throws Exception
Exceptionpublic void abortJobIfMissingRequiredParameter()
throws Exception
Exceptionpublic void abortJobIfDeliveryCountParameterNotAnInt()
throws Exception
Exceptionpublic void messageNotDeliveredAfterShutdown()
throws Exception
Exceptionpublic void messageProducedDuringSchedulerStandbyDeliveredWhenSchedulerStarted()
throws Exception
Exceptionpublic void messageProducedAfterSchedulerStopped()
throws Exception
Exceptionpublic void messageRunnerResponsiveToCancellation()
throws Exception
Exceptionpublic void cancelAutoAcknowledgement()
throws Exception
ExceptionCopyright © 2017 Atlassian. All rights reserved.