[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #1722: (WIP DO NOT MERGE) ARTEMIS-1545 Support...

Github user franz1981 commented on a diff in the pull request:
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/ ---
    @@ -115,6 +123,8 @@ public Packet decode(final ActiveMQBuffer in) {
           switch (packetType) {
              case SESS_SEND:
                 return decodeSessionSendMessage(in);
    +         case SESS_SEND_V2:
    +            return decodeSessionSendMessageV2(in);
    --- End diff --
    If decodeSessionSendMessageV2 is not supposed to be the common case here, would be better to move it on the `slowPathDecode`  instead