You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2024/07/13 10:27:55 UTC
(camel-karaf) 02/02: Ref #419: Force the locale to predict the decimal format
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
commit 64b3741cf3ef30771cd4452f884aef0b16fd06d8
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Sat Jul 13 11:48:55 2024 +0200
Ref #419: Force the locale to predict the decimal format
---
.../main/java/org/apache/karaf/camel/test/CamelBindyRouteSupplier.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/features/camel-bindy/src/main/java/org/apache/karaf/camel/test/CamelBindyRouteSupplier.java b/tests/features/camel-bindy/src/main/java/org/apache/karaf/camel/test/CamelBindyRouteSupplier.java
index ffed028f..642bfb6c 100644
--- a/tests/features/camel-bindy/src/main/java/org/apache/karaf/camel/test/CamelBindyRouteSupplier.java
+++ b/tests/features/camel-bindy/src/main/java/org/apache/karaf/camel/test/CamelBindyRouteSupplier.java
@@ -39,6 +39,7 @@ public class CamelBindyRouteSupplier extends AbstractCamelSingleFeatureResultMoc
protected void configureProducer(RouteBuilder builder, RouteDefinition producerRoute) {
BindyCsvDataFormat camelDataFormat = new BindyCsvDataFormat(Order.class);
+ camelDataFormat.setLocale("en");
producerRoute.process(ex -> ex.getIn().setBody(CSV))
.unmarshal(camelDataFormat)