tabish121 commented on code in PR #5175: URL: https://github.com/apache/activemq-artemis/pull/5175#discussion_r1731751791
########## artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/ResourceLimitSettings.java: ########## @@ -79,7 +84,12 @@ public void setMatch(SimpleString match) { } public void setMaxConnections(int maxConnections) { - this.maxConnections = maxConnections; + this.maxSessions = maxConnections; + } + + @Deprecated(forRemoval = true) + public void setMaxSessions(int maxConnections) { Review Comment: should setMaxSessions not take a param named maxSessions ? ########## artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/ResourceLimitSettings.java: ########## @@ -79,7 +84,12 @@ public void setMatch(SimpleString match) { } public void setMaxConnections(int maxConnections) { - this.maxConnections = maxConnections; + this.maxSessions = maxConnections; + } + + @Deprecated(forRemoval = true) Review Comment: I'm guessing you meant to depreate setMaxConnections and not the setMaxSessions API you've just created ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact