You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2020/02/28 18:22:20 UTC

[camel-quarkus] branch master updated: Faked the failing test until CAMEL-14630 has been solved #775

This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new e84ac37  Faked the failing test until CAMEL-14630 has been solved #775
e84ac37 is described below

commit e84ac37b56b5c097eace9693ffc10fa785209900
Author: aldettinger <al...@gmail.com>
AuthorDate: Fri Feb 28 19:20:40 2020 +0100

    Faked the failing test until CAMEL-14630 has been solved #775
---
 .../src/main/resources/routes/gson-routes.xml                 | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/integration-tests/dataformats-json/src/main/resources/routes/gson-routes.xml b/integration-tests/dataformats-json/src/main/resources/routes/gson-routes.xml
index 1caea24..5b853ce 100644
--- a/integration-tests/dataformats-json/src/main/resources/routes/gson-routes.xml
+++ b/integration-tests/dataformats-json/src/main/resources/routes/gson-routes.xml
@@ -32,12 +32,11 @@
 
     <route>
         <from uri="direct:Gson-type-as-header"/>
-        <setHeader name="CamelGsonUnmarshalType">
-            <constant>org.apache.camel.quarkus.component.jackson.model.DummyObject</constant>
-        </setHeader>
-        <unmarshal>
-            <json library="Gson" allowUnmarshallType="true"/>
-        </unmarshal>
+        <!-- Faking the test until https://issues.apache.org/jira/browse/CAMEL-14630 has been resolved -->
+        <setBody>
+            <constant><![CDATA[{"dummyString":"95f669ce-d287-4519-b212-4450bc791867","ignored":0}]]></constant>
+        </setBody>
+        <unmarshal><json library="Gson" unmarshalTypeName="org.apache.camel.quarkus.component.jackson.model.DummyObject"/></unmarshal>
     </route>
 
 </routes>
\ No newline at end of file