mirror of https://github.com/apache/activemq.git
resolve https://issues.apache.org/activemq/browse/AMQ-2889 - fix setter type
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f8a601a85b
commit
37b9cb82e1
|
@ -213,9 +213,9 @@ public class ActiveMQConnectionRequestInfo implements ConnectionRequestInfo, Ser
|
|||
return Boolean.valueOf(redeliveryPolicy().isUseExponentialBackOff());
|
||||
}
|
||||
|
||||
public void setRedeliveryBackOffMultiplier(Short value) {
|
||||
public void setRedeliveryBackOffMultiplier(Double value) {
|
||||
if (value != null) {
|
||||
redeliveryPolicy().setBackOffMultiplier(value.shortValue());
|
||||
redeliveryPolicy().setBackOffMultiplier(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ public class ActiveMQConnectionSupport {
|
|||
/**
|
||||
* @param value
|
||||
*/
|
||||
public void setRedeliveryBackOffMultiplier(Short value) {
|
||||
public void setRedeliveryBackOffMultiplier(Double value) {
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug("setting [redeliveryBackOffMultiplier] to: " + value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue