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 <davscl...@apache.org>
Authored: Tue Dec 9 20:17:39 2014 +0100
Committer: Claus Ibsen <davscl...@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);
 

Reply via email to