camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Jolliffe <bobjolli...@gmail.com>
Subject csv with tab delimitter
Date Fri, 09 Aug 2013 17:51:40 GMT
I have a route like the following:

        <route>
            <from uri="file://tracnet?charset=ISO-8859-1"/>
            <c:split streaming="true">
                <c:tokenize token="\n"/>
                <unmarshal>
                    <csv delimiter="\t"/>
                </unmarshal>
                <to uri="log:org.hisp.dhix?showAll=true"/>
            </c:split>
        </route>

My camel context complains that the delimitter should be of length 1 when I
try to load this.  It seems it sees my escaped tab as 2 characters?  Is
there a workaround I am missing?

Regards
Bob

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message