Hi Did you try to force the JMS message type to bytes ?
Regards JB On Mon, May 13, 2024 at 4:40 PM Jason Jackson <jason.jack...@itechag.com.invalid> wrote: > > I am running into an issue with downloading a BASE64 type message from IBM MQ > into ActiveMQ. > > ActiveMQ is connecting to IBM MQ using Camel/Spring and pulling the message > down. I believe when the message is pulled from IBM MQ it is being converted > to a BYTE message instead of BASE64. > > The Camel/Spring version that is used is the one that comes with the ActiveMQ > release 5.18.4. > > My guess is there is a simple conversion entry that needs to be added to the > route but can not determine which setting is correct. > > I have tried the following: > > Option 1 > <dataFormats> > <base64 lineSeparator="
";" id="base64withNewLine"/> > <base64 lineLength="64" id="base64withLineLength"/> > </dataFormaats> > > <route> > <from uri="ibmmq:queue1"/> > <marshal ref="base64withLineLength64"/> > <to uri="activemq:queue1"/> > </route> > > Option 2 > <route> > <from uri="ibmmq:queue1"/> > <marshal> > <base64/> > </marshal> > <to uri="activemq:queue1"/> > </route> > > Neither of these work and ActiveMQ fails to start with an error being posted > in the log file stating no base64 classes found and/or something similar. > > Does any have experience or know of a way to download/move a base64 message > from IBM MQ to ActiveMQ? > > Thanks > > Jason