Is there any way to configure Camel to do Exchange logging in hexadecimal,
rather than being rendered in the associated character set?  I have a route
that I configure to use *iso-8859-1* (i.e. Latin-1) via
.*setProperty(Exchange.CHARSET_NAME, "iso-8859-1")* and the Exchange logging
displays the message body as iso-8859-1 characters.

So, for example,  I'd like to see something like this:

*[2015-06-30 19:45:58,483] DEBUG [New I/O worker #33] >>>>
Endpoint[udp://devserver-09.dev.s.mission.net:62268] Exchange[Message:
0000000000007200a1b2c3d455526599000007edc201002a4f512e5063337153373239504b3232454876454d6c356a656151<<<
snip >>>00000000000000]*


... instead of this:

*[2015-06-30 19:45:58,483] DEBUG [New I/O worker #33] >>>>
Endpoint[udp://devserver-09.dev.s.mission.net:62268] Exchange[Message:
^@^@^@^@^@^@r^@¡²��URe<99>^@^@^YP�^A^@*OQ.Pc3qS729PK22EHvEMl5jeaQxxSIY.1431463279�^B^@c+17926775404<<<
snip >>>^@^@^@^@^@^@^@^@^@^@^@]*


   Thanks, SteveR








--
View this message in context: 
http://camel.465427.n5.nabble.com/Logging-Camel-Exchanges-in-Hexadecimal-tp5768750.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to