Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
2.7. Configuring the CSV Reader for Record Sets
- To configure a Smooks instance with a CSV reader to read a person record set, use the code below. It will bind the records to a list of person instances.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteYou can also optionally configure the Java Bean. The Smooks instance could instead (or additionally) be configured programmatically to use other visitor implementations to process the CSV record set. - To bind the CSV's records to a list or map of a Java type that reflects the data in your CSV records, use the
CSVListBinder
orCSVMapBinder
classes:Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you need more control over the binding process, revert back to using the lower-level APIs.