This is an automated email from the ASF dual-hosted git repository.
dmvolod pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 723870b camel3 - controlbus component should use public camel-api
new ba75f65 [CAMEL-13026] Add 'CsvMarshallerFactory' and corresponding
tests
new f0a0d1b [CAMEL-13026] Using 'ObjectHelper.notNull' as suggested
new a32d44e Adapt documentation and add possibility to set the marshaller
factory in 'camel-core'
new b870eeb CAMEL-13026: Polished Closes #2705
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../camel/model/dataformat/CsvDataFormat.java | 25 ++++
.../camel-csv/src/main/docs/csv-dataformat.adoc | 4 +-
.../apache/camel/dataformat/csv/CsvDataFormat.java | 25 +++-
.../apache/camel/dataformat/csv/CsvMarshaller.java | 24 +++-
...ordConverter.java => CsvMarshallerFactory.java} | 29 ++--
.../camel/dataformat/csv/CsvMarshalHeaderTest.java | 109 +++++++++++++++
...MarshalHeaderWithCustomMarshallFactoryTest.java | 154 +++++++++++++++++++++
.../modules/ROOT/pages/csv-dataformat.adoc | 4 +-
.../csv/springboot/CsvDataFormatConfiguration.java | 12 ++
9 files changed, 366 insertions(+), 20 deletions(-)
copy
components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/{CsvRecordConverter.java
=> CsvMarshallerFactory.java} (55%)
create mode 100644
components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalHeaderTest.java
create mode 100644
components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvMarshalHeaderWithCustomMarshallFactoryTest.java