Class LocalCompetingConsumersDurableQueueIT<DURABLE_QUEUES extends DurableQueues,UOW extends UnitOfWork,UOW_FACTORY extends UnitOfWorkFactory<UOW>>
- java.lang.Object
-
- dk.cloudcreate.essentials.components.foundation.test.messaging.queue.LocalCompetingConsumersDurableQueueIT<DURABLE_QUEUES,UOW,UOW_FACTORY>
-
public abstract class LocalCompetingConsumersDurableQueueIT<DURABLE_QUEUES extends DurableQueues,UOW extends UnitOfWork,UOW_FACTORY extends UnitOfWorkFactory<UOW>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intNUMBER_OF_MESSAGESstatic intPARALLEL_CONSUMERS
-
Constructor Summary
Constructors Constructor Description LocalCompetingConsumersDurableQueueIT()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract DURABLE_QUEUEScreateDurableQueues(UOW_FACTORY unitOfWorkFactory)protected abstract UOW_FACTORYcreateUnitOfWorkFactory()protected abstract voidresetQueueStorage(UOW_FACTORY unitOfWorkFactory)protected dk.cloudcreate.essentials.shared.time.TimingusingDurableQueue(String description, Runnable action)
-
-
-
Field Detail
-
NUMBER_OF_MESSAGES
public static final int NUMBER_OF_MESSAGES
- See Also:
- Constant Field Values
-
PARALLEL_CONSUMERS
public static final int PARALLEL_CONSUMERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDurableQueues
protected abstract DURABLE_QUEUES createDurableQueues(UOW_FACTORY unitOfWorkFactory)
-
createUnitOfWorkFactory
protected abstract UOW_FACTORY createUnitOfWorkFactory()
-
resetQueueStorage
protected abstract void resetQueueStorage(UOW_FACTORY unitOfWorkFactory)
-
-