@Override protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext) { super.configureDataFormat(dataFormat, camelContext); if (escapeChar != null) { setProperty(camelContext, dataFormat, "escapeChar", singleCharOf("escapeChar", escapeChar)); } }
@Override protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext) { super.configureDataFormat(dataFormat, camelContext); if (quoteAllFields != null) { setProperty(camelContext, dataFormat, "quoteAllFields", quoteAllFields); } if (quote != null) { setProperty(camelContext, dataFormat, "quote", singleCharOf("quote", quote)); } if (quoteEscape != null) { setProperty( camelContext, dataFormat, "quoteEscape", singleCharOf("quoteEscape", quoteEscape)); } if (delimiter != null) { setProperty(camelContext, dataFormat, "delimiter", singleCharOf("delimiter", delimiter)); } }