Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have some encoding problems with a Camel Route developed with Talend ESB. I have no problems when I run job developed in Integration view.
My route purpose it to route and to consume an XML message sent in ActiveMQ (calling a sub-job).
I use these component :
CJMSConnectionFactory
CJMS
Output's CJMS message has encoding problems like that : <!]>
XML message input is encoded in UTF-8, and option Dfile.encoding in .ini is also defined in UTF-8. My browser is in UTF-8 too.
Do you know that problem ? Is there a particular encoding in ActiveMQ, or can we configure encoding options in cJMS component (I didn't find encoding options in AMQ documentation) ?
Thanks.
Output's CJMS message has encoding problems like that : <!]>
<?xml version="1.0"?><response><method>ajoutAssure</method><cabinet>EUREXO</cabinet><assure><numero>43</numero><nom>Gérard MARTIN</nom><telMobile>1234</telMobile><telFixe>3456</telFixe><email>test@test.fr</email><adresse><libelle1>TEST21</libelle1><libelle2>TEST321111</libelle2><libelle3>éè@</libelle3><cp>31402</cp><ville>Toulouse2</ville><pays>France</pays></adresse></assure></response>
2015-02-23 09:32:23,802 | WARN | org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte 72 in state 3 | org.eclipse.jetty.util.UrlEncoded | qtp708352791-48
2015-02-23 09:32:23,803 | WARN | org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte E8 in state 3 | org.eclipse.jetty.util.UrlEncoded | qtp708352791-48
-Dfile.encoding="UTF-8"