You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2022/02/28 14:48:17 UTC

[GitHub] [activemq-artemis] gtully commented on a change in pull request #3932: ARTEMIS-3660 - rename broker balancer to connection router - tidy up config

gtully commented on a change in pull request #3932:
URL: https://github.com/apache/activemq-artemis/pull/3932#discussion_r815955233



##########
File path: artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java
##########
@@ -1189,8 +1189,8 @@ public AMQConnectionContext getContext() {
       public Response processAddConnection(ConnectionInfo info) throws Exception {
          try {
             protocolManager.validateUser(OpenWireConnection.this, info);
-            if (transportConnection.getRedirectTo() != null) {
-               if (protocolManager.getRedirectHandler().redirect(OpenWireConnection.this, info)) {
+            if (transportConnection.getRouter() != null) {
+               if (protocolManager.getRoutingHandler().handle(OpenWireConnection.this, info)) {

Review comment:
       small point, I wonder, if it should be getRoutingHandler.route ?




-- 
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-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org