Version: 17.07
Supported Since: 17.07
CSV Header Extractor processing element can be used to extract the header row of the CSV payload in a message context. The same functionality can be obtained by the Extract CSV Row processing element by providing 0 as the parameter but this processing element provides better performance to extract header/first row compared to the Extract CSV Row processing element.
The CSV payload is expected to be in the RFC 4180 standard format.
In order to use this processing element, you must first select the CSV Message dependency from the processor list when you are creating an empty Ultra project. If you have already created a project, you can add this dependency via Component Registry. From Tools menu, select Ultra Studio → Component Registry and from the Processors list, select the CSV Message dependency |
Next |
The message will be sent to this outport if the payload transformation is completed successfully |
On Exception |
The message will be sent to this outport if the processing element failed to transform the payload due to some reason |
In the following use case, the requirement is to read a CSV file from a NIO File Ingress Connector extract the header from the CSV message payload and pass it to a custom processing element, perform some custom processing using the extracted header and finally deliver the message to a backend service via NIO HTTP Egress Connector