org.apache.activemq.artemis.api.core

## Interface RefCountMessageListener

-     public interface RefCountMessageListener

  If `Message.getContext()` != null and is implementing this interface. These methods will be called during refCount operations

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `durableDown(Message message, int durableCount)`
    `void` | `durableUp(Message message, int durableCount)`
    `void` | `nonDurableDown(Message message, int nonDurableCoun)`
    `void` | `nonDurableUp(Message message, int nonDurableCoun)`

- - ### Method Detail

    - #### durableUp

          void durableUp(Message message,
                         int durableCount)

    - #### durableDown

          void durableDown(Message message,
                           int durableCount)

    - #### nonDurableUp

          void nonDurableUp(Message message,
                            int nonDurableCoun)

    - #### nonDurableDown

          void nonDurableDown(Message message,
                              int nonDurableCoun)

Copyright © 2018 The Apache Software Foundation. All rights reserved.