Hello All, I am working with Apache Artemis 1.2.0 and would like to replace the existing message body with another message body using a transformer.
It seems simple enough, just: message.getBodyBuffer().clear(); message.getBodyBuffer().writeNullableString(newTextString); but this does not have the desired results. Am getting: 14:20:24.783 [main] INFO JmsTestReceiver - BODY: ???????????????????????????????????????????????????????????????????????????????????? in my logs when I attempt to retrieve the message from the broker. Is anyone knowledgeable in this area and willing to explain what I am seeing? I *do* have this working in HornetQ, but certain changes mean my solution does not seem to work in Artemis. I'm currently examining the bytes to work out what is going on, but an explanation would, in this particular instance, be extremely valuable. Thank you & regards, Matthew