Pregunta

I'm using Mule CE and need to remove the first row (containing headers) of an incoming CSV file so that I can pass it to a transformer to be converted to maps. How would I achieve this? My guess would be some kind of splitter, but I've not had any luck so far.

¿Fue útil?

Solución

The jdbc:csv-to-maps-transformer contains a property ignoreFirstRecord, but if you have your csv transformations done with some custom transformer, you may have to do this with Java (or some of the scripting languages). I don't think there is any standard Mule component that does this out-of-the-box.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top