[
https://issues.apache.org/jira/browse/CAMEL-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078956#comment-13078956
]
Claus Ibsen commented on CAMEL-4278:
------------------------------------
Pablo I wonder if the scan logic could be made a bit simpler, something like
{code}
if X endsWith("\n") || x endsWith("\r") {
X = X subString(0, x.length-1); // mac or unix line terminators
else if X endWith("\r\n")
X = X subString(0, x.length-2); // windows is dual afair
}
> 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