Quantcast
Viewing all articles
Browse latest Browse all 5648

csv with tab delimitter

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

Viewing all articles
Browse latest Browse all 5648

Trending Articles