mirror of https://github.com/apache/activemq.git
applied patch from Fabio Ospitia Trujillo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6c0fae01de
commit
242353b56c
|
@ -298,7 +298,7 @@ public class ActiveMQConnectionRequestInfo implements ConnectionRequestInfo, Ser
|
||||||
* breaking compatibility with JCA configuration in J2EE
|
* breaking compatibility with JCA configuration in J2EE
|
||||||
*/
|
*/
|
||||||
public RedeliveryPolicy redeliveryPolicy() {
|
public RedeliveryPolicy redeliveryPolicy() {
|
||||||
if (redeliveryPolicy != null) {
|
if (redeliveryPolicy == null) {
|
||||||
redeliveryPolicy = new RedeliveryPolicy();
|
redeliveryPolicy = new RedeliveryPolicy();
|
||||||
}
|
}
|
||||||
return redeliveryPolicy;
|
return redeliveryPolicy;
|
||||||
|
@ -309,7 +309,7 @@ public class ActiveMQConnectionRequestInfo implements ConnectionRequestInfo, Ser
|
||||||
* breaking compatibility with JCA configuration in J2EE
|
* breaking compatibility with JCA configuration in J2EE
|
||||||
*/
|
*/
|
||||||
public ActiveMQPrefetchPolicy prefetchPolicy() {
|
public ActiveMQPrefetchPolicy prefetchPolicy() {
|
||||||
if (prefetchPolicy != null) {
|
if (prefetchPolicy == null) {
|
||||||
prefetchPolicy = new ActiveMQPrefetchPolicy();
|
prefetchPolicy = new ActiveMQPrefetchPolicy();
|
||||||
}
|
}
|
||||||
return prefetchPolicy;
|
return prefetchPolicy;
|
||||||
|
|
Loading…
Reference in New Issue