public class JmsRedeliveryPolicy extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_REDELIVERIES |
Constructor and Description |
---|
JmsRedeliveryPolicy() |
JmsRedeliveryPolicy(JmsRedeliveryPolicy source) |
Modifier and Type | Method and Description |
---|---|
JmsRedeliveryPolicy |
copy() |
int |
getMaxRedeliveries()
Returns the configured maximum redeliveries that a message will be
allowed to have before it is rejected by this client.
|
void |
setMaxRedeliveries(int maxRedeliveries)
Configures the maximum number of time a message can be redelivered before it
will be rejected by this client.
|
public static final int DEFAULT_MAX_REDELIVERIES
public JmsRedeliveryPolicy()
public JmsRedeliveryPolicy(JmsRedeliveryPolicy source)
public JmsRedeliveryPolicy copy()
public int getMaxRedeliveries()
public void setMaxRedeliveries(int maxRedeliveries)
maxRedeliveries
- the maxRedeliveries to setCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.