Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 1008 invoked from network); 11 Feb 2008 17:51:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 17:51:00 -0000 Received: (qmail 66872 invoked by uid 500); 11 Feb 2008 17:50:53 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 66815 invoked by uid 500); 11 Feb 2008 17:50:53 -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 66806 invoked by uid 99); 11 Feb 2008 17:50:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 09:50:53 -0800 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 17:50:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5D7471406C for ; Mon, 11 Feb 2008 09:50:36 -0800 (PST) Message-ID: <28785959.1202752236740.JavaMail.jira@brutus> Date: Mon, 11 Feb 2008 09:50:36 -0800 (PST) From: "Hadrian Zbarcea (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-280) Dynamic Router implementation In-Reply-To: <14593751.1198830747682.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea updated CAMEL-280: ---------------------------------- Affects Version/s: (was: 1.3.0) 1.4.0 > Dynamic Router implementation > ----------------------------- > > Key: CAMEL-280 > URL: https://issues.apache.org/activemq/browse/CAMEL-280 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 1.4.0 > Reporter: Przemyslaw Budzik > Priority: Minor > Fix For: 1.3.0 > > Attachments: dynamic-router.patch > > > I decided to get my hands dirty by taking https://issues.apache.org/activemq/browse/CAMEL-8 :) I had in mind a feature like this: > from("....").dynamicRouter(myRouter); > where myRouter is a class that implements some interface so that it provides a list of endpoints (or one endpoint as well) to send messages to. Of course it creates some room for further improvements like providing Drools integration or another sophisticated routing mechanism based on "rules" so to speak. The idea is to have message and depending on its content create destinations dynamically per flow. > Anyway when expressed by DSL it's quite nice to use (however still the same is doable playing with processors). What do you think about it? Does it make sense? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.