cshannon commented on PR #1659: URL: https://github.com/apache/activemq/pull/1659#issuecomment-3909723905
> I'm taking a look at this a bit more as something still doesn't add up. The fix here works but I'm not sure why it would be necessary. > > I started playing with the unit test and when I debug it I see the message is being copied on dispatch, but all the consumers are receiving the exact same message reference so I am going to see if I can track down why. Oops neve rmind, I am getting different references (looking at the wrong thing) but I am still checking more into this to see if we can better pinpoint the issue vs just using synchronized. We can add it but it would be nice to know where exactly the issue is with multiple threads touching the message at the same time. -- 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
