You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2019/04/25 18:27:39 UTC
[camel] branch master updated: Fix flatpack dataformat tests
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 30d3f67 Fix flatpack dataformat tests
30d3f67 is described below
commit 30d3f6729ddae6dda8317bc796f66dc1376d7ff5
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Apr 25 20:26:43 2019 +0200
Fix flatpack dataformat tests
---
.../apache/camel/reifier/dataformat/FlatpackDataFormatReifier.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/reifier/dataformat/FlatpackDataFormatReifier.java b/core/camel-core/src/main/java/org/apache/camel/reifier/dataformat/FlatpackDataFormatReifier.java
index f3d46a6..4e6d88e 100644
--- a/core/camel-core/src/main/java/org/apache/camel/reifier/dataformat/FlatpackDataFormatReifier.java
+++ b/core/camel-core/src/main/java/org/apache/camel/reifier/dataformat/FlatpackDataFormatReifier.java
@@ -43,8 +43,8 @@ public class FlatpackDataFormatReifier extends DataFormatReifier<FlatpackDataFor
@Override
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext) {
- if (ObjectHelper.isNotEmpty(definition)) {
- setProperty(camelContext, dataFormat, "definition", definition);
+ if (ObjectHelper.isNotEmpty(definition.getDefinition())) {
+ setProperty(camelContext, dataFormat, "definition", definition.getDefinition());
}
if (definition.getFixed() != null) {
setProperty(camelContext, dataFormat, "fixed", definition.getFixed());