Probably the best place to start is to explain to everyone how you're intending to implement this JIRA. (I.e. an explanation of what you have done so far, how it works etc)
I' m just using the property _JBM_ORIG_MESSAGE_ID to refer to the original message. I' m adding a linked message property on LargeMessage, and I' m keeping a reference count on the linkedMessage. When the message reference count is 0, I just remove a reference counting from the linked message.
With the current implementation I have a problem when the message is moved for the second time, as the property won't reference to the original message any more.
Because of that, if a message is moved again, I' m referring to the first original messageID. I just wanted to know if this would be ok or not?
Ok I understand what you mean now. I think that would be ok.