Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 769774B1F for ; Mon, 11 Jul 2011 09:17:32 +0000 (UTC) Received: (qmail 56071 invoked by uid 500); 11 Jul 2011 09:17:31 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 55679 invoked by uid 500); 11 Jul 2011 09:17:16 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 55645 invoked by uid 99); 11 Jul 2011 09:17:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 09:17:04 +0000 X-ASF-Spam-Status: No, hits=4.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of unmarshall@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2011 09:17:00 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QgCbY-0004Yw-5T for users@camel.apache.org; Mon, 11 Jul 2011 02:16:40 -0700 Date: Mon, 11 Jul 2011 02:16:40 -0700 (PDT) From: unmarshall To: users@camel.apache.org Message-ID: In-Reply-To: References: <1310372510739-4574253.post@n5.nabble.com> Subject: Re: Camel metamodel MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3596_20098595.1310375800164" ------=_Part_3596_20098595.1310375800164 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Claus, I have already seen the model package in camel-core. I still do not see any metamodel for components. Endpoint configurations are based on URI configurations which can very easily change from one release to another and pretty hard to track. IMO Camel still lacks the definition of metamodels for components (like File, JMS, Cxf, etc..). It should define a standard way to expose the metamodel for any custom component so that all optional/required properties can then be easily tracked. Best Regards, Madhav On Mon, Jul 11, 2011 at 2:31 PM, Claus Ibsen-2 [via Camel] < ml-node+4574360-1196803385-141347@n5.nabble.com> wrote: > On Mon, Jul 11, 2011 at 10:21 AM, unmarshall <[hidden email]> > wrote: > > Hi All, > > > > Is there any effort being put in developing a camel metamodel which can > then > > be used to create camel routes during design time using a graphical > editor? > > > > There is already a metamodel, its in the model package of camel-core > (eg all the xxxDefinition classes). > > Thats what the Java DSL, XML DSLs, Groovy DSL, Scala DSL, uses the > build the camel routes. > > > > I have seen the graphical editor from fuse source, but it is not based on > > > any meta-model. In fact it is not even a generator and it still requires > > users to know all possible properties for any endpoint. It is just a > > graphical representation of a Spring XML based camel routes. > > > > Fuse IDE uses the Camel metamodel from the model package. Its just > that the 1st release supports the XML DSLs at first. > The other DSLs will be supported in future releases. Well in fact at > runtime the Fuse IDE can visualize any kind of Camel runtime, > regardless which DSL you used to create the model. Its just the > current design editor in Fuse IDE is targeted to support XML DSLs at > first. > > > > What we are looking for is to allow users to graphically create camel > routes > > and then depending on the user choice generate Spring XML representation > of > > the camel context or DSL of choice. > > > > There is two vendors doing this already, where FuseSource is one of > them. So its definitely possible. > > > > Best Regards, > > Madhav > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Camel-metamodel-tp4574253p4574253.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: [hidden email] > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Camel-metamodel-tp4574253p4574360.html > To unsubscribe from Camel metamodel, click here. > > -- When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do -- View this message in context: http://camel.465427.n5.nabble.com/Camel-metamodel-tp4574253p4574396.html Sent from the Camel - Users mailing list archive at Nabble.com. ------=_Part_3596_20098595.1310375800164--