You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/07/22 15:59:55 UTC

git commit: CAMEL-6476: Introducing StreamCachingStrategy SPI to make it easier to configure and allow 3rd party to plugin custom strategies.

Updated Branches:
  refs/heads/master 5369bf1ca -> 2760a5970


CAMEL-6476: Introducing StreamCachingStrategy SPI to make it easier to configure and allow 3rd party to plugin custom strategies.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2760a597
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2760a597
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2760a597

Branch: refs/heads/master
Commit: 2760a59708fe14a5c3e27f1172e7470e07daf1e3
Parents: 5369bf1
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Jul 22 15:59:47 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Jul 22 15:59:47 2013 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/karaf/commands/ContextInfo.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2760a597/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/ContextInfo.java
----------------------------------------------------------------------
diff --git a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/ContextInfo.java b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/ContextInfo.java
index 316ed33..f57e1a7 100644
--- a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/ContextInfo.java
+++ b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/ContextInfo.java
@@ -146,10 +146,12 @@ public class ContextInfo extends OsgiCommandSupport {
 
                 // add stream caching details if enabled
                 if (camelContext.getStreamCachingStrategy().isEnabled()) {
-                    System.out.println(StringEscapeUtils.unescapeJava(String.format("\tStreamCachingStrategy: [spoolDirectory=%s, spoolThreshold=%s, spoolChiper=%s, bufferSize=%s, removeSpoolDirectoryWhenStopping=%s, statisticsEnabled=%s]",
+                    System.out.println(StringEscapeUtils.unescapeJava(String.format("\tStreamCachingStrategy: [spoolDirectory=%s, spoolChiper=%s, spoolThreshold=%s, spoolUsedHeapMemoryThreshold=%s, anySpoolRules=%s, bufferSize=%s, removeSpoolDirectoryWhenStopping=%s, statisticsEnabled=%s]",
                             camelContext.getStreamCachingStrategy().getSpoolDirectory(),
-                            camelContext.getStreamCachingStrategy().getSpoolThreshold(),
                             camelContext.getStreamCachingStrategy().getSpoolChiper(),
+                            camelContext.getStreamCachingStrategy().getSpoolThreshold(),
+                            camelContext.getStreamCachingStrategy().getSpoolUsedHeapMemoryThreshold(),
+                            camelContext.getStreamCachingStrategy().isAnySpoolRules(),
                             camelContext.getStreamCachingStrategy().getBufferSize(),
                             camelContext.getStreamCachingStrategy().isRemoveSpoolDirectoryWhenStopping(),
                             camelContext.getStreamCachingStrategy().getStatistics().isStatisticsEnabled())));