I am trying to do a POC, to read a csv file in Mulesoft using IBM MQ Connector
I am using "On New Message" node to read the message My csv file does not have header row and I am trying to read the first row records but not able to read it. Providing input directive header=false in Transform message is not working.
I am looking for a way to provide this information on "On New message" node itself.
For other connector like HTTP Listener, we can set MIME type as application csv and add parameter header=false.
code
%dw 2.0
input payload application/csv header=false
output application/csv header=false
payload[0]