CSV creation behaving differently for camel route.

Solution Verified - Updated -

Issue

  • While migrating of fuse on Karaf from 6.2.1 to 7.9. In the new as well as in old version we are using {.marshal(new CsvDataFormat().setQuoteDisabled(true)) } for Csv creation.
  • Observed that in both versions in both of them the result was different, In the old one it is putting a comma where a particular column has a null value.

Output for Old version of Fuse

NAME,DOB,ORG,AGE,PLACE
k,124,sopraS, , 
A,12,sopraS, , 
b,24,sopraS, ,
i,4,sopraS, ,

Output for latest version of Fuse

NAME,DOB,ORG,AGE,PLACE
k,124,sopraS 
A,12,sopraS 
b,24,sopraS
i,4,sopraS

Environment

  • Red Hat Fuse
  • 7.9.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content