4 Replies Latest reply on Oct 24, 2009 1:27 PM by Clebert Suconic

    Referencing counting for large messages

    Tim Fox Master

      I'm trying to understand why large messages need to have the reference count incremented to prevent them being deleted. (See ServerConsumerImpl)

      I understand from the comments that this is done to prevent deletion, but the mechanism is not explained in any detail.

      Clebert- can you explain why not incrementing the ref count for a large message would cause it to get deleted prematurely?

      Why is a large message any different from a normal message?