18 #ifndef _ACTIVEMQ_CORE_REDELIVERYPOLICY_H_ 19 #define _ACTIVEMQ_CORE_REDELIVERYPOLICY_H_ 55 virtual double getBackOffMultiplier()
const = 0;
63 virtual void setBackOffMultiplier(
double value) = 0;
68 virtual short getCollisionAvoidancePercent()
const = 0;
74 virtual void setCollisionAvoidancePercent(
short value) = 0;
81 virtual long long getInitialRedeliveryDelay()
const = 0;
89 virtual void setInitialRedeliveryDelay(
long long value) = 0;
96 virtual long long getRedeliveryDelay()
const = 0;
104 virtual void setRedeliveryDelay(
long long value) = 0;
112 virtual int getMaximumRedeliveries()
const = 0;
120 virtual void setMaximumRedeliveries(
int maximumRedeliveries) = 0;
131 virtual long long getNextRedeliveryDelay(
long long previousDelay) = 0;
136 virtual bool isUseCollisionAvoidance()
const = 0;
142 virtual void setUseCollisionAvoidance(
bool value) = 0;
147 virtual bool isUseExponentialBackOff()
const = 0;
153 virtual void setUseExponentialBackOff(
bool value) = 0;
Interface for a RedeliveryPolicy object that controls how message Redelivery is handled in ActiveMQ-C...
Definition: RedeliveryPolicy.h:34
#define AMQCPP_API
Definition: Config.h:30
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
Java-like properties class for mapping string names to string values.
Definition: Properties.h:53
static const long long NO_MAXIMUM_REDELIVERIES
Definition: RedeliveryPolicy.h:37