[
https://issues.apache.org/jira/browse/CAMEL-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080009#comment-13080009
]
Pablo Venini commented on CAMEL-4278:
-------------------------------------
Claus:
I wanted to avoid the overhead of creating another temporary String
object so I worked directly on the byte array (these methods would be invoked
for every application message processed by the engine). Anyway I shot myself in
the foot because in my application Exchange.CHARSET_NAME is NULL and the
try/catch always get triggered. In this regard I'm in doubt about what to do;
the FIX standard specifies an ASCII 7-bit charset so I don't know if the byte
[] -> String conversion wouldn't have to be hardcoded to use that encoding or
if I should set that encoding in the Exchange properties (from the application).
> Additional methods added to example QuickfixConverters
> ------------------------------------------------------
>
> Key: CAMEL-4278
> URL: https://issues.apache.org/jira/browse/CAMEL-4278
> Project: Camel
> Issue Type: Improvement
> Reporter: Pablo Venini
> Priority: Trivial
> Attachments: patchfile_2.txt
>
>
> The example QuickfixConverters converter class didn't have methods to convert
> from a byte array to a Message and from Message to InputStream. That
> prevented me from marshalling/unmarshalling Quickfix messages with Bindy.
> Enclosed is a patch with the needed methods.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira