Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 38016 invoked from network); 12 Jun 2009 03:31:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 03:31:46 -0000 Received: (qmail 97343 invoked by uid 500); 12 Jun 2009 03:31:57 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 97286 invoked by uid 500); 12 Jun 2009 03:31:57 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 97276 invoked by uid 500); 12 Jun 2009 03:31:57 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 97273 invoked by uid 99); 12 Jun 2009 03:31:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 03:31:57 +0000 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; Fri, 12 Jun 2009 03:31:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E80B234C046 for ; Thu, 11 Jun 2009 20:31:35 -0700 (PDT) Message-ID: <300532392.1244777495385.JavaMail.jira@brutus> Date: Thu, 11 Jun 2009 20:31:35 -0700 (PDT) From: "Hadrian Zbarcea (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Assigned: (CAMEL-1699) pipeline function should have 0-parameter version In-Reply-To: <221766213.1244751815290.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea reassigned CAMEL-1699: -------------------------------------- Assignee: Hadrian Zbarcea > pipeline function should have 0-parameter version > ------------------------------------------------- > > Key: CAMEL-1699 > URL: https://issues.apache.org/activemq/browse/CAMEL-1699 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Reporter: Joe Gottman > Assignee: Hadrian Zbarcea > Fix For: 2.1.0 > > > Currently the pipeline function takes an array of uri strings or Endpoints. It should also take 0 parameters to create a PipelineDefinition object that requires an end() to finish, similar to multicast(). To see why this is necessary, consider the multicast example from the wiki: > > > > > > > > > > > > > > > Since the contents of the two pipelines are not just uri's there is no easy way to create this route in Java. If we had a pipeline() function, we could do it as follows: > from("activemq:SomeQueue") > .multicast() > pipeline() > .beanRef("something") > .to("log:Something") > .end() //pipeline > .pipeline() > .beanRef("foo") > .beanRef="bar"/> > .to("activemq:OutputQueue) > .end() //pipeline > .end() ;//multicast -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.