Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1276A1908D for ; Thu, 7 Apr 2016 14:02:56 +0000 (UTC) Received: (qmail 78173 invoked by uid 500); 7 Apr 2016 14:02:55 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 78125 invoked by uid 500); 7 Apr 2016 14:02:55 -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 78113 invoked by uid 99); 7 Apr 2016 14:02:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 14:02:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2BAAC18027E for ; Thu, 7 Apr 2016 14:02:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.492 X-Spam-Level: X-Spam-Status: No, score=0.492 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id S68YaxfyxECZ for ; Thu, 7 Apr 2016 14:02:51 +0000 (UTC) Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B034B5FBA6 for ; Thu, 7 Apr 2016 14:02:50 +0000 (UTC) Received: by mail-ig0-f182.google.com with SMTP id ui10so71118559igc.1 for ; Thu, 07 Apr 2016 07:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WATQ5BOFkXrbP6uM7CeGhZrjv5G8JsSCMbW8WhznD5k=; b=kGKk3bmFUabzTR+QPG91BEdYNvD3JgEWbzCCpfCAmgqok6DHg7/juE7qaL1EVJMI6v RKucmzCpv9GqUszhIz4bQpQXow9mc1bGaiDKLjb+o3KmdL2YB2q0e8bOW5mguaqY2AeU SjZU6cvuOOX8kYbJ7HmwKkr1qZ9P+sKpRZrBY0VL7I+MyeEylULxSFSyBAWch8CJgJjH 5YGFOgKCkc9KpAig8qdhaLRX6/fhw5wsEThF2JoGNB8Ij2h4MVZcM90b/oR9Vve5EN/m 99GSWtqRv5JyxkIHXtOrO8UXrjcR9OtQbw+BLHwbXijhVLOAhh0nJAuvKvC+fyZ9edlJ qS0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=WATQ5BOFkXrbP6uM7CeGhZrjv5G8JsSCMbW8WhznD5k=; b=jwVEZnPnQsj4+JJOK739AdSwFUxcTqwu7H4SWYJgIoKCtUD5+VS8pqiJkKM6IrUvG0 pwErjSliWV5JUBAHnfvP9YeyuccD9yN+AHQpdOPEafW48XlcSaxQrbXnE9fYffoVP9iw adthB0QAwRdD8ZDt7bdnwIFTIp5sBYX6g+PX+sbrPXelF461jKEuIi0zzgLyiIN+Mz+0 nKUXdPNGcIba8asTGqzjRJ+5q4uKaiZzQ3P8t38QJui/NDyVOKoPE4kZvRhqFWmLgHMk 7MZ914otVFovXp3QUHFnhR2Vu1r0v0+3AHcz1iReeFiecFn6u1qm8EycHUKteMgDoAuG ontQ== X-Gm-Message-State: AD7BkJKseedKS0qELwGW/1czS6dodL5oKyzt5ohQnSboKLHzJ4FJDp8ostHDDlvb/X45/FqWY8xthd79iQu87Q== X-Received: by 10.50.111.72 with SMTP id ig8mr20628850igb.46.1460037769558; Thu, 07 Apr 2016 07:02:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.16.2 with HTTP; Thu, 7 Apr 2016 07:02:29 -0700 (PDT) In-Reply-To: <1458821564576-5779641.post@n5.nabble.com> References: <732789543.4450460.1458808429718.JavaMail.yahoo@mail.yahoo.com> <1458821564576-5779641.post@n5.nabble.com> From: Claus Ibsen Date: Thu, 7 Apr 2016 16:02:29 +0200 Message-ID: Subject: Re: [DISCUSS] - Thoughts on Apache Camel 2.18 and towards 3.0 To: dev Content-Type: text/plain; charset=UTF-8 On Thu, Mar 24, 2016 at 1:12 PM, Gnanaguru S wrote: > > Guys, > > These are some of the feature, I wish to see in upcoming camel versions. It > would be useful to have. > > 1. Timeout option in a internal synchronous endpoint - we very much use > camel for orchestration layer. In a use case where many downstream > routes/endpoints are called synchronously, I would like to have a direct: > endpoint which has a timeout. So that I can timeout a call to some > particular downstream route, handle the exception and proceed to the next > step. In fact this option is already there with seda: endpoint, but I wont > prefer to use seda: for synchronous flow. Also I can use internal JMS > endpoints between routes to achieve this, but sometimes using JMS for > internal transaction is heavy. > > 2. Improved/Sophisticated xmljson component. > > 3. Improved/even Simpler exception handling. > > 4. Native Camel transformation component, I am bit obsessed with XSLT. So I > was thinking, why dont camel incorporate something like xslt: internally. > like Camel transformer component ? Something better than XSLT component, > something very camelish. ;) > > 5. Better CXF configurations, for example configuring timeout for a cxf > consumer and producer endpoint is not that straight forward like jetty / > http(4) components. > > 6. Better/Improved unit testing, Camel test support is great, like > AdviceWith & Mock endpoints. But some of their methods have issues, I am > seeing latest camel versions have lot of fixes, but I think some more > features can be introduced. For example, if I want send a sample XML as a > request, I dont want to use a IOUtil or a File reader to load the file and > then to a string and then pass it to a producer template, instead it will be > easier if there is a something called as mockRequest. May be there are > better options already, please ignore my ignorance here ;) > You can send a java.io.File as the message body in the producer template. > 7. JSON validator. XML XSD validation is nice and straight forward, but it > will be great if we have something similar for JSON as well. like > to:json-validator:classpath/response.json > > 8. Ability to load a route context directly to a unit test case > > These are some aspects I could think of at the moment, I will try to add > more. But please ignore if some of these ideas sounds silly ;) > > Happy long weekend ! > > Cheers > Guru > http://gnan.io > > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/DISCUSS-Thoughts-on-Apache-Camel-2-18-and-towards-3-0-tp5779549p5779641.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2