| // Do not edit directly! |
| // This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page |
| [id="extensions-bindy"] |
| = Bindy |
| :page-aliases: extensions/bindy.adoc |
| :linkattrs: |
| :cq-artifact-id: camel-quarkus-bindy |
| :cq-native-supported: true |
| :cq-status: Stable |
| :cq-status-deprecation: Stable |
| :cq-description: Marshal and unmarshal between POJOs on one side and Comma separated values (CSV), fixed field length or key-value pair (KVP) formats on the other side using Camel Bindy |
| :cq-deprecated: false |
| :cq-jvm-since: 1.0.0 |
| :cq-native-since: 1.0.0 |
| |
| ifeval::[{doc-show-badges} == true] |
| [.badges] |
| [.badge-key]##JVM since##[.badge-supported]##1.0.0## [.badge-key]##Native since##[.badge-supported]##1.0.0## |
| endif::[] |
| |
| Marshal and unmarshal between POJOs on one side and Comma separated values (CSV), fixed field length or key-value pair (KVP) formats on the other side using Camel Bindy |
| |
| [id="extensions-bindy-whats-inside"] |
| == What's inside |
| |
| * xref:{cq-camel-components}:dataformats:bindy-dataformat.adoc[Bindy CSV data format] |
| * xref:{cq-camel-components}:dataformats:bindy-dataformat.adoc[Bindy Fixed Length data format] |
| * xref:{cq-camel-components}:dataformats:bindy-dataformat.adoc[Bindy Key Value Pair data format] |
| |
| Please refer to the above links for usage and configuration details. |
| |
| [id="extensions-bindy-maven-coordinates"] |
| == Maven coordinates |
| |
| https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-bindy[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"] |
| |
| Or add the coordinates to your existing project: |
| |
| [source,xml] |
| ---- |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-bindy</artifactId> |
| </dependency> |
| ---- |
| ifeval::[{doc-show-user-guide-link} == true] |
| Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. |
| endif::[] |
| |
| [id="extensions-bindy-camel-quarkus-limitations"] |
| == Camel Quarkus limitations |
| |
| When using camel-quarkus-bindy in native mode, only the build machine's locale is supported. |
| |
| For instance, on build machines with french locale, the code below: |
| ``` |
| BindyDataFormat dataFormat = new BindyDataFormat(); |
| dataFormat.setLocale("ar"); |
| ``` |
| formats numbers the arabic way in JVM mode as expected. However, it formats numbers the french way in native mode. |
| |
| Without further tuning, the build machine's default locale would be used. Another locale could be specified with |
| the https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-language[quarkus.native.user-language] and https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.user-country[quarkus.native.user-country] configuration properties. |
| |