You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/12/19 10:44:37 UTC

svn commit: r727988 - in /activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model: MulticastType.java SplitterType.java

Author: ningjiang
Date: Fri Dec 19 01:44:37 2008
New Revision: 727988

URL: http://svn.apache.org/viewvc?rev=727988&view=rev
Log:
CAMEL-1192 polished the Java Docs

Modified:
    activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/MulticastType.java
    activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/SplitterType.java

Modified: activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/MulticastType.java
URL: http://svn.apache.org/viewvc/activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/MulticastType.java?rev=727988&r1=727987&r2=727988&view=diff
==============================================================================
--- activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/MulticastType.java (original)
+++ activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/MulticastType.java Fri Dec 19 01:44:37 2008
@@ -80,10 +80,19 @@
     }
     
     /**
+     * Set to run the multicasting action parallely
+     *
+     * @return the builder
+     */
+    public MulticastType parallelProcessing() {
+        setParallelProcessing(true);
+        return this;
+    }
+    
+    /**
      * Set the multicasting action's thread model
-     * @param parallelProcessing 
-     * if it is true the Splitter will use a thread pool to do the multicasting work; 
-     * if it is false the Splitter only do the multicasting work in the calling thread.
+     * @param parallelProcessing <tt>true</tt> to use a thread pool, 
+     * if <tt>false</tt> then work is done in the calling thread
      *
      * @return the builder
      */

Modified: activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/SplitterType.java
URL: http://svn.apache.org/viewvc/activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/SplitterType.java?rev=727988&r1=727987&r2=727988&view=diff
==============================================================================
--- activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/SplitterType.java (original)
+++ activemq/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/model/SplitterType.java Fri Dec 19 01:44:37 2008
@@ -99,10 +99,19 @@
     }
     
     /**
+     * Set to run the splitting action parallelly
+     * 
+     * @return the builder
+     */
+    public SplitterType parallelProcessing() {
+        setParallelProcessing(true);
+        return this;
+    }
+    
+    /**
      * Set the splitting action's thread model
-     * @param parallelProcessing 
-     * if it is true the Splitter will use a thread pool to do the splitting work; 
-     * if it is false the Splitter only do the splitting work in the calling thread.
+     * @param parallelProcessing <tt>true</tt> to use a thread pool, 
+     * if <tt>false</tt> then work is done in the calling thread. 
      *
      * @return the builder
      */