Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 12988 invoked from network); 22 Sep 2008 11:57:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2008 11:57:43 -0000 Received: (qmail 25819 invoked by uid 500); 22 Sep 2008 11:57:40 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 25801 invoked by uid 500); 22 Sep 2008 11:57:40 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 25786 invoked by uid 99); 22 Sep 2008 11:57:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 04:57:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 11:56:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ABF40234C1E1 for ; Mon, 22 Sep 2008 04:56:52 -0700 (PDT) Message-ID: <1985983125.1222084612703.JavaMail.jira@brutus> Date: Mon, 22 Sep 2008 04:56:52 -0700 (PDT) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-910) loan broker example - feedback and minor review In-Reply-To: <1768036820.1221587272626.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang resolved CAMEL-910. -------------------------------- Resolution: Fixed #8 should be resolved in CAMEL-928. > loan broker example - feedback and minor review > ----------------------------------------------- > > Key: CAMEL-910 > URL: https://issues.apache.org/activemq/browse/CAMEL-910 > Project: Apache Camel > Issue Type: Task > Components: documentation, examples > Affects Versions: 1.4.0 > Reporter: Claus Ibsen > Assignee: Willem Jiang > Priority: Minor > Fix For: 1.5.0 > > > First of all I think we need to promote this great example some more. Maybe it should be easier to find on our wiki site. > I will post findings in this ticket: > #1 > Link to EIP book loan broker sample doesnt work > #2 > I think the 2 parts in the introduction should be listed as bullets (one for JMS, one for webservice) > #3 > spelling (comman in the sentence below) > credit agency , and banks) > #4 > Maybe the exchange pattern InOnly, InOut is not easily understood by new users and non JBI/ServiceMix end-users. Maybe use terms such as sync/async instead (and list the MEP in parathes) > #5 > Could "test-jms" component name be renamed to jms or activemq or something with non test? > #6 > multicast().to() ah clever if its really using a multicast ;) I didn't know that we have the .to on multicase. Are you sure its working as expected? and it should not be multicase("bank1", "bank2", ...) without the to? > #7 > Use the getHeader with the expected type as 2nd param, to avoid plain java type cast > String ssn = (String)exchange.getIn().getHeader(Constants.PROPERTY_SSN); > #8 > The aggregator. I am wondering if we have or should have a counter build in Camel so you can use a build in header instead of "remebering" to code this yourself > result.setProperty("aggregated", old + 1); > will continue... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.