ARTEMIS-4696 Deprecate queue prefetch address setting
This commit is contained in:
parent
625bdfce6e
commit
774d321012
|
@ -535,6 +535,7 @@ public class AddressSettings implements Mergeable<AddressSettings>, Serializable
|
||||||
}
|
}
|
||||||
//from amq5
|
//from amq5
|
||||||
//make it transient
|
//make it transient
|
||||||
|
@Deprecated
|
||||||
private transient Integer queuePrefetch = null;
|
private transient Integer queuePrefetch = null;
|
||||||
|
|
||||||
public AddressSettings(AddressSettings other) {
|
public AddressSettings(AddressSettings other) {
|
||||||
|
@ -1133,10 +1134,12 @@ public class AddressSettings implements Mergeable<AddressSettings>, Serializable
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public int getQueuePrefetch() {
|
public int getQueuePrefetch() {
|
||||||
return queuePrefetch != null ? queuePrefetch : AddressSettings.DEFAULT_QUEUE_PREFETCH;
|
return queuePrefetch != null ? queuePrefetch : AddressSettings.DEFAULT_QUEUE_PREFETCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public AddressSettings setQueuePrefetch(int queuePrefetch) {
|
public AddressSettings setQueuePrefetch(int queuePrefetch) {
|
||||||
this.queuePrefetch = queuePrefetch;
|
this.queuePrefetch = queuePrefetch;
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue