This is an automated email from the ASF dual-hosted git repository. davsclaus 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 6447968 Polished 6447968 is described below commit 6447968b03230a4baae0103db71d4e6122417dc3 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Apr 2 10:59:46 2020 +0200 Polished --- .../src/main/java/org/apache/camel/component/rest/RestProducer.java | 2 +- .../src/main/java/org/apache/camel/reifier/rest/RestBindingReifier.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducer.java b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducer.java index 0957a43..a4fa067 100644 --- a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducer.java +++ b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestProducer.java @@ -345,7 +345,7 @@ public class RestProducer extends DefaultAsyncProducer { } if (jaxb != null) { - // to setup JAXB we need to use camel-xml-jaxb + // to setup JAXB we need to use camel-jaxb camelContext.adapt(ExtendedCamelContext.class).getRestBindingJaxbDataFormatFactory() .setupJaxb(camelContext, configuration, type, outType, jaxb, outJaxb); } diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/rest/RestBindingReifier.java b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/rest/RestBindingReifier.java index 95b9fd6..233cc50 100644 --- a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/rest/RestBindingReifier.java +++ b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/rest/RestBindingReifier.java @@ -120,7 +120,7 @@ public class RestBindingReifier extends AbstractReifier { } if (jaxb != null) { - // to setup JAXB we need to use camel-xml-jaxb + // to setup JAXB we need to use camel-jaxb camelContext.adapt(ExtendedCamelContext.class).getRestBindingJaxbDataFormatFactory() .setupJaxb(camelContext, config, parseString(definition.getType()), parseString(definition.getOutType()), jaxb, outJaxb); }