From 394f238881c34b0e41acee8c7167d0e0a7b776b6 Mon Sep 17 00:00:00 2001 From: Emmanuel Hugonnet Date: Thu, 4 Jul 2019 14:07:07 +0200 Subject: [PATCH] ARTEMIS-2405 Resource adapter getter should return wrapped objects and not primitive. * updating getters/setters to used wrapped objects instead of primitive. Jira: https://issues.apache.org/jira/browse/ARTEMIS-2405 --- .../activemq/artemis/ra/ActiveMQResourceAdapter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java index 7a21184a66..d76bd9aa87 100644 --- a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java +++ b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/ActiveMQResourceAdapter.java @@ -908,11 +908,11 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable { raProperties.setProducerMaxRate(producerMaxRate); } - public void setUseTopologyForLoadBalancing(boolean useTopologyForLoadBalancing) { + public void setUseTopologyForLoadBalancing(Boolean useTopologyForLoadBalancing) { raProperties.setUseTopologyForLoadBalancing(useTopologyForLoadBalancing); } - public boolean isUseTopologyForLoadBalancing() { + public Boolean isUseTopologyForLoadBalancing() { return raProperties.isUseTopologyForLoadBalancing(); } @@ -2093,11 +2093,11 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable { } } - public boolean isIgnoreJTA() { + public Boolean isIgnoreJTA() { return ignoreJTA; } - public void setIgnoreJTA(boolean ignoreJTA) { + public void setIgnoreJTA(Boolean ignoreJTA) { this.ignoreJTA = ignoreJTA; } }