I am sending xml messages over the activemq queue using Camel route. Message is reaching to the queue but its not able to read it. Not sure if it is a apache camel issue or Active MQ issue. My camel route is
<route>
<from uri="seda:elixirBatchQueue" />
<inOnly uri="activemq:queue:TESTQUEUE"/>
</route>
Error Message in the queue is
javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.StreamCorruptedException: invalid type code: 00