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/09/17 03:33:20 UTC
svn commit: r696125 -
/activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java
Author: ningjiang
Date: Tue Sep 16 18:33:20 2008
New Revision: 696125
URL: http://svn.apache.org/viewvc?rev=696125&view=rev
Log:
CAMEL-910 Added comments for parallelly processing
Modified:
activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java
Modified: activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java?rev=696125&r1=696124&r2=696125&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java (original)
+++ activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/LoanBroker.java Tue Sep 16 18:33:20 2008
@@ -92,7 +92,8 @@
// Router 2 to call the bank endpoints parallelly
from(Constants.PARALLEL_LOANBROKER_URI)
.process(new CreditScoreProcessor(Constants.CREDITAGENCY_ADDRESS))
- // Using the thread pool to send out message to the below three different banks parallelly
+ // Using the thread pool to send out message to the below three different banks parallelly,
+ // the parameter of true is for processing the output processors parallelly
.multicast(new BankResponseAggregationStrategy(), true)
.to(Constants.BANK1_URI, Constants.BANK2_URI, Constants.BANK3_URI);