clebertsuconic commented on code in PR #5715:
URL: https://github.com/apache/activemq-artemis/pull/5715#discussion_r2124776060


##########
artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTProtocolHandler.java:
##########
@@ -93,7 +94,8 @@ public MQTTProtocolHandler(ActiveMQServer server, 
MQTTProtocolManager protocolMa
    void setConnection(MQTTConnection connection, ConnectionEntry entry) throws 
Exception {
       this.connectionEntry = entry;
       this.connection = connection;
-      this.session = new MQTTSession(this, connection, protocolManager, 
server.getConfiguration().getWildcardConfiguration());
+      this.session = new MQTTSession(this, connection, protocolManager, 
server.getConfiguration().getWildcardConfiguration(), 
server.newOperationContext());
+      server.getStorageManager().setContext(session.getSessionContext());

Review Comment:
   nice one!!!



-- 
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


Reply via email to