This is an automated email from the ASF dual-hosted git repository.
brusdev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 774d321012 ARTEMIS-4696 Deprecate queue prefetch address setting
774d321012 is described below
commit 774d321012c55fb2696257a7560228d995593fa0
Author: Domenico Francesco Bruscino <[email protected]>
AuthorDate: Wed Mar 27 17:12:49 2024 +0100
ARTEMIS-4696 Deprecate queue prefetch address setting
---
.../apache/activemq/artemis/core/settings/impl/AddressSettings.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java
index cf34b1b86b..fdda8bc4e1 100644
---
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java
+++
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java
@@ -535,6 +535,7 @@ public class AddressSettings implements
Mergeable<AddressSettings>, Serializable
}
//from amq5
//make it transient
+ @Deprecated
private transient Integer queuePrefetch = null;
public AddressSettings(AddressSettings other) {
@@ -1133,10 +1134,12 @@ public class AddressSettings implements
Mergeable<AddressSettings>, Serializable
return this;
}
+ @Deprecated
public int getQueuePrefetch() {
return queuePrefetch != null ? queuePrefetch :
AddressSettings.DEFAULT_QUEUE_PREFETCH;
}
+ @Deprecated
public AddressSettings setQueuePrefetch(int queuePrefetch) {
this.queuePrefetch = queuePrefetch;
return this;