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/06/06 15:34:30 UTC

svn commit: r663937 - in /activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker: queue/version/LoanBroker.java webservice/version/credit/CreditAgency.java

Author: ningjiang
Date: Fri Jun  6 06:34:30 2008
New Revision: 663937

URL: http://svn.apache.org/viewvc?rev=663937&view=rev
Log:
Fixed some snippet tags typo

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/credit/CreditAgency.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=663937&r1=663936&r2=663937&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 Fri Jun  6 06:34:30 2008
@@ -78,13 +78,13 @@
         // Here we use the multicast pattern to send the message to three different bank queue
         from("test-jms:queue:creditResponseQueue").multicast().to("test-jms:queue:bank1", "test-jms:queue:bank2", "test-jms:queue:bank3");
 
-        // Each bank process will process the message and put the response message into the bankReplyQueue
+        // Each bank processor will process the message and put the response message into the bankReplyQueue
         from("test-jms:queue:bank1").process(new Bank("bank1")).to("test-jms:queue:bankReplyQueue");
         from("test-jms:queue:bank2").process(new Bank("bank2")).to("test-jms:queue:bankReplyQueue");
         from("test-jms:queue:bank3").process(new Bank("bank3")).to("test-jms:queue:bankReplyQueue");
 
         // Now we aggregating the response message by using the Constants.PROPERTY_SSN header
-        // The aggregation will completed when the three bank responses are received
+        // The aggregation will completed when all the three bank responses are received
         from("test-jms:queue:bankReplyQueue")
             .aggregator(header(Constants.PROPERTY_SSN), new BankResponseAggregationStrategy())
             .completedPredicate(header("aggregated").isEqualTo(3))

Modified: activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/credit/CreditAgency.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/credit/CreditAgency.java?rev=663937&r1=663936&r2=663937&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/credit/CreditAgency.java (original)
+++ activemq/camel/trunk/examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/version/credit/CreditAgency.java Fri Jun  6 06:34:30 2008
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 package org.apache.camel.loanbroker.webservice.version.credit;
-
+//START SNIPPET: creditAgencyImpl
 public class CreditAgency implements CreditAgencyWS {
 
     public int getCreditHistoryLength(String ssn) {