You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by kl...@apache.org on 2022/06/05 21:07:09 UTC

[camel-examples] branch main updated: CAMEL-18132: fix transformer-demo example to work with 3.17 release Disable streamCache on XML route because it currently doesn't work correctly with validation.

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

klease pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 357db288 CAMEL-18132: fix transformer-demo example to work with 3.17 release Disable streamCache on XML route because it currently doesn't work correctly with validation.
357db288 is described below

commit 357db2886fdec3b594fea2479f8aecfd408e659b
Author: klease <kl...@cegetel.net>
AuthorDate: Sun Jun 5 23:05:55 2022 +0200

    CAMEL-18132: fix transformer-demo example to work with 3.17 release
    Disable streamCache on XML route because it currently doesn't work
    correctly with validation.
---
 .../src/main/resources/META-INF/spring/camel-context.xml                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml b/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
index b6eb8147..adcf1472 100644
--- a/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
+++ b/examples/transformer-demo/src/main/resources/META-INF/spring/camel-context.xml
@@ -57,7 +57,7 @@
         <!-- END SNIPPET: e8 -->
 
         <!-- START SNIPPET: e4 -->
-        <camel:route id="xml">
+        <camel:route id="xml" streamCache="false">
             <camel:from uri="direct:xml"/>
             <!--  This route expects XML as an input/output type -->
             <camel:inputType urn="xml:XMLOrder" validate="true"/>