How to convert csv to json format ?
Issue
- I am trying to create a route that will read from a file that has
JSONrecords delimited by New line character. So the I am Reading the records for the File and spliting them based on New line token and need to send this toElastic Search. However the problem is when I read this records Fuse will treat it as a string hence I loose theJSONFormat of the Record. - When I am trying to run my
BlueprintProject asLocal camel context, it is failing with error
MojoExecutionException: InvocationTargetException: Gave up waiting for service (objectClass=org.apache.camel.CamelContext)
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.