M- An implementation of
Messagecontained in the
dead letterthat's been made a decision on.
public class Ignore<M extends Message<?>> extends Object implements EnqueueDecision<M>
dead lettershould be ignored.
This means the decision can be ignored entirely. As such the component enqueueing a letter will decide what to do
with it. In most scenarios this result in enqueueing the given
letter, or keeping it in the queue.
|Constructor and Description|
|Modifier and Type||Method and Description|
The decision whether the
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean shouldEnqueue()
dead lettershould be enqueued in a queue. When
falsethe dead letter should be evicted.
Optionalthat was part of deciding to enqueue the
dead letterin a queue. Empty if the
dead lettershould be evicted or when there is no failure cause used for deciding to enqueue.
Copyright © 2010–2023. All rights reserved.