public interface JmsRedeliveryPolicy
| Modifier and Type | Method and Description |
|---|---|
JmsRedeliveryPolicy |
copy() |
int |
getMaxRedeliveries(JmsDestination destination)
Returns the configured maximum redeliveries that a message will be
allowed to have before it is rejected by this client for a given destination.
|
int |
getOutcome(JmsDestination destination)
Returns the configured outcome that will be used when rejecting the
message by this client for the given destination when the message has
reached the maximum redelivery threshold.
|
JmsRedeliveryPolicy copy()
int getMaxRedeliveries(JmsDestination destination)
A return value of less than zero is treated as if there is no maximum value set.
destination - the destination that the subscription is redelivering from.int getOutcome(JmsDestination destination)
destination - the destination that the subscription is redelivering from.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.