Author: gertv
Date: Thu Mar 12 20:32:48 2009
New Revision: 753002

URL: http://svn.apache.org/viewvc?rev=753002&view=rev
Log:
Adding SNIPPET comments to document stream caching feature

Modified:
    
camel/trunk/camel-core/src/test/java/org/apache/camel/processor/interceptor/StreamCachingInterceptorTest.java

Modified: 
camel/trunk/camel-core/src/test/java/org/apache/camel/processor/interceptor/StreamCachingInterceptorTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/interceptor/StreamCachingInterceptorTest.java?rev=753002&r1=753001&r2=753002&view=diff
==============================================================================
--- 
camel/trunk/camel-core/src/test/java/org/apache/camel/processor/interceptor/StreamCachingInterceptorTest.java
 (original)
+++ 
camel/trunk/camel-core/src/test/java/org/apache/camel/processor/interceptor/StreamCachingInterceptorTest.java
 Thu Mar 12 20:32:48 2009
@@ -116,11 +116,15 @@
 
             public void configure() {
                 //Stream caching for a single route...
+                //START SNIPPET: route
                 from("direct:a").streamCaching().to("mock:a");
+                //END SNIPPET
 
                 //... or for all the following routes in this builder
+                //START SNIPPET: routebuilder
                 streamCaching();
                 from("direct:b").to("mock:b");
+                //END SNIPPET
             }
         };
     }


Reply via email to