camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [6/6] camel git commit: CAMEL-8316: Fixed setting custom data format properties in rest-dsl
Date Tue, 09 Dec 2014 19:20:02 GMT
CAMEL-8316: Fixed setting custom data format properties in rest-dsl


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ca69cc52
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ca69cc52
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ca69cc52

Branch: refs/heads/camel-2.14.x
Commit: ca69cc52edfdcf70ff1c449b0e797bd1d7e44457
Parents: 408fef6
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Dec 9 20:17:39 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Dec 9 20:19:43 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/model/rest/RestBindingDefinition.java   | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ca69cc52/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
index abe2a06..eac4829 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
@@ -170,9 +170,6 @@ public class RestBindingDefinition extends NoOutputDefinition<RestBindingDefinit
                 JAXBContext jc = JAXBContext.newInstance(clazz);
                 IntrospectionSupport.setProperty(context.getTypeConverter(), jaxb, "context",
jc);
             }
-            if (context.getRestConfiguration().getDataFormatProperties() != null) {
-                IntrospectionSupport.setProperties(context.getTypeConverter(), jaxb, context.getRestConfiguration().getDataFormatProperties());
-            }
             setAdditionalConfiguration(context, jaxb);
             context.addService(jaxb);
 


Mime
View raw message