You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2008/12/18 19:55:05 UTC
svn commit: r727789 - in
/activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker:
queue/version/LoanBroker.java webservice/version/LoanBroker.java
Author: janstey
Date: Thu Dec 18 10:55:05 2008
New Revision: 727789
URL: http://svn.apache.org/viewvc?rev=727789&view=rev
Log:
Revert earlier fix, I just needed to rebuild camel-core...
Modified:
activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/queue/version/LoanBroker.java
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/queue/version/LoanBroker.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/queue/version/LoanBroker.java?rev=727789&r1=727788&r2=727789&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/queue/version/LoanBroker.java (original)
+++ activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/queue/version/LoanBroker.java Thu Dec 18 10:55:05 2008
@@ -100,7 +100,7 @@
// Set the aggregation strategy for aggregating the out message
.multicast(new BankResponseAggregationStrategy().setAggregatingOutMessage(true))
// Send out the request to three different banks in parallel
- .setParallelProcessing(true).to("jms:queue2:bank1", "jms:queue2:bank2", "jms:queue2:bank3");
+ .parallelProcessing(true).to("jms:queue2:bank1", "jms:queue2:bank2", "jms:queue2:bank3");
// Each bank processor will process the message and put the response message back
from("jms:queue2:bank1").process(new Bank("bank1"));
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=727789&r1=727788&r2=727789&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 Thu Dec 18 10:55:05 2008
@@ -96,7 +96,7 @@
.multicast(new BankResponseAggregationStrategy())
// Camel will create a thread pool with the size of the send to endpoints
// for sending the message in parallel
- .setParallelProcessing(true)
+ .parallelProcessing(true)
.to(Constants.BANK1_URI, Constants.BANK2_URI, Constants.BANK3_URI);
//END SNIPPET: dsl