Class StopConsumingFromQueue
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.StopConsumingFromQueue
Stop an asynchronous message consumer.
Is initiated when
Is initiated when
DurableQueueConsumer.cancel() is called
Operation also matches DurableQueuesInterceptor.intercept(StopConsumingFromQueue, InterceptorChain)-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DurableQueueConsumerThe durable queue consumer being stopped -
Constructor Summary
ConstructorsConstructorDescriptionStopConsumingFromQueue(DurableQueueConsumer durableQueueConsumer) Stop an asynchronous message consumer. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsumeFromQueueBuilderbuilder()Create a new builder that produces a newConsumeFromQueueinstancetoString()
-
Field Details
-
durableQueueConsumer
The durable queue consumer being stopped
-
-
Constructor Details
-
StopConsumingFromQueue
Stop an asynchronous message consumer.- Parameters:
durableQueueConsumer- the durable queue consumer being stopped
-
-
Method Details
-
builder
Create a new builder that produces a newConsumeFromQueueinstance- Returns:
- a new
ConsumeFromQueueBuilderinstance
-
getDurableQueueConsumer
- Returns:
- the durable queue consumer being stopped
-
toString
-