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
This commit is contained in:
Emmanuel Hugonnet 2019-07-04 14:07:07 +02:00 committed by Clebert Suconic
parent b86b86c40f
commit 394f238881
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}