clebertsuconic commented on code in PR #4183:
URL: https://github.com/apache/activemq-artemis/pull/4183#discussion_r1068389869
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java:
##########
@@ -174,6 +184,8 @@ public class ServerSessionPacketHandler implements
ChannelHandler {
private final Pool<NullResponseMessage_V2> poolNullResponseV2;
+ private final Map<Integer, String> producers = new HashMap<>();
Review Comment:
can you instead use io.netty.util.collection.IntObjectHashMap please? It's a
lot better for this case here. It's a simple replacement and it's just like a
regular HashMap.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]