pradeep85841 commented on PR #1659:
URL: https://github.com/apache/activemq/pull/1659#issuecomment-3891634618

   Thank you for the insight. That makes perfect sense—the issue likely isn't 
the lack of a copy, but a race condition during the lazy state-toggle within 
ActiveMQTextMessage when copy() or getText() is called concurrently.
   
   I am moving away from the marshaling approach. I'll test adding 
synchronization to the state-changing methods in ActiveMQTextMessage to see if 
that stabilizes the copy() process during VM dispatch. I'll update the PR once 
I verify this identifies the root cause


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to