osdir.com


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

[GitHub] activemq-artemis pull request #2482: ARTEMIS-2214 Cache durable&priority in ...


Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2482#discussion_r244150563
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/PagedReferenceImpl.java ---
    @@ -74,6 +74,10 @@
     
        private long messageSize = -1;
     
    +   private byte priority;
    +
    +   private boolean durable;
    --- End diff --
    
    need to default this not set somehow, possible use a byte to represent the boolean with 0 = false, 1 = true, -1 not set


---