You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2022/04/19 18:09:15 UTC

[GitHub] [activemq-artemis] AntonRoskvist commented on pull request #4031: ARTEMIS-3780 - OpenWire, UTF8Buffer to String before setting properti…

AntonRoskvist commented on PR #4031:
URL: https://github.com/apache/activemq-artemis/pull/4031#issuecomment-1102941417

   Well... it happens on every OpenWire message where there are properties beyond what's defined in the OpenWireMessageConverter... at least that's what I concluded after some basic testing. Just adding any custom header to the message will trigger it.
   
   I noticed this by chance while looking through a CPU profile for something else and the way I confirmed and tested was by adding logging on the thrown exception. (and testing against the unchanged code vs the changed).
   
   But for instance this test will trigger the exception:
   org.apache.activemq.artemis.tests.integration.openwire.amq.JmsTransactionTestSupport #testChangeMutableObjectInObjectMessageThenRollback
    
   


-- 
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: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org