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 20:45:44 UTC

[camel-examples] branch main updated: CAMEL-18132: fix artemis-large-messages example for streamCache changes in 3.17

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 f065060f CAMEL-18132: fix artemis-large-messages example for streamCache changes in 3.17
f065060f is described below

commit f065060f1b3f904beb879eb43e4ea2101c2edb0d
Author: klease <kl...@cegetel.net>
AuthorDate: Sun Jun 5 22:45:10 2022 +0200

    CAMEL-18132: fix artemis-large-messages example for streamCache changes in 3.17
---
 .../src/main/resources/META-INF/spring/camel-context.xml                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/artemis-large-messages/src/main/resources/META-INF/spring/camel-context.xml b/examples/artemis-large-messages/src/main/resources/META-INF/spring/camel-context.xml
index 272bc7ea..4665f28a 100644
--- a/examples/artemis-large-messages/src/main/resources/META-INF/spring/camel-context.xml
+++ b/examples/artemis-large-messages/src/main/resources/META-INF/spring/camel-context.xml
@@ -46,7 +46,7 @@
   </bean>
 
   <camelContext id="myCamel" xmlns="http://camel.apache.org/schema/spring">
-
+    <streamCaching id="myCacheConfig" spoolEnabled="true" bufferSize="2048" spoolDirectory="target/cachedir" spoolThreshold="8192"/>
     <route>
       <from uri="file:target/inbox"/>
       <log message="Sending file ${file:name} to Artemis"/>