Bob Jolliffe created CAMEL-6624:
-----------------------------------
Summary: csv component doen't accept tab character as delimiter
Key: CAMEL-6624
URL: https://issues.apache.org/jira/browse/CAMEL-6624
Project: Camel
Issue Type: Bug
Components: extra
Affects Versions: 2.11.1
Environment: java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
64 bit Ubuntu linux 12.04
Reporter: Bob Jolliffe
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 delimiter should be of length 1 when I try
to load this. It seems it sees my escaped tab as 2 characters?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira