Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 54F2B2009F9 for ; Mon, 23 May 2016 22:08:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 538A6160A05; Mon, 23 May 2016 20:08:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9DF80160A0E for ; Mon, 23 May 2016 22:08:16 +0200 (CEST) Received: (qmail 18159 invoked by uid 500); 23 May 2016 20:08:15 -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 18145 invoked by uid 99); 23 May 2016 20:08:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 20:08:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 017691A5B62 for ; Mon, 23 May 2016 20:08:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.293 X-Spam-Level: * X-Spam-Status: No, score=1.293 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WKiPcx6ctQ_p for ; Mon, 23 May 2016 20:08:13 +0000 (UTC) Received: from smtp93.ord1c.emailsrvr.com (smtp93.ord1c.emailsrvr.com [108.166.43.93]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 9B7B25F1B4 for ; Mon, 23 May 2016 20:08:12 +0000 (UTC) Received: from smtp20.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp20.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 1AEA0803B7 for ; Mon, 23 May 2016 16:08:05 -0400 (EDT) Received: from smtp192.mex05.mlsrvr.com (unknown [184.106.31.85]) by smtp20.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTPS id 13296803B6 for ; Mon, 23 May 2016 16:08:05 -0400 (EDT) X-Sender-Id: shuston@riverace.com Received: from smtp192.mex05.mlsrvr.com ([UNAVAILABLE]. [184.106.31.85]) (using TLSv1 with cipher AES256-SHA) by 0.0.0.0:25 (trex/5.5.4); Mon, 23 May 2016 16:08:05 -0400 Received: from ORD2MBX01D.mex05.mlsrvr.com ([fe80::75cf:4044:ec74:dde9]) by ORD2HUB26.mex05.mlsrvr.com ([fe80::be30:5bff:fef4:9240%15]) with mapi id 14.03.0279.002; Mon, 23 May 2016 15:08:04 -0500 From: Steve Huston To: "users@camel.apache.org" Subject: RE: Routing with logic Thread-Topic: Routing with logic Thread-Index: AQHRtOnoziVqeXj0dEiW23OPVeNGJ5/G8yhg Date: Mon, 23 May 2016 20:08:04 +0000 Message-ID: <00BCD2BEF4977149A7C7303B4BAEBBE622AC96A0@ORD2MBX01D.mex05.mlsrvr.com> References: <1463999954156-5782944.post@n5.nabble.com> In-Reply-To: <1463999954156-5782944.post@n5.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [24.62.20.238] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Mon, 23 May 2016 20:08:17 -0000 I am not a Camel expert, but one way to approach this would be to have a pr= ocess that reads from your external APIs and put the resulting messages int= o a queue (for example, using AMQP). Then your camel route can read message= s 'from' the queue. If your external APIs have a camel component integration, that would be eas= ier. -Steve Huston > -----Original Message----- > From: miri eyni [mailto:miri.eyni@sapiens.com] > Sent: Monday, May 23, 2016 6:39 AM > To: users@camel.apache.org > Subject: Routing with logic >=20 > hi > i need to implement routing with processing. > processing the request should read from different APIs (external API ) fo= r > create a new request to the endpoint. >=20 > how is the best way to implements it? >=20 >=20 >=20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Routing- > with-logic-tp5782944.html > Sent from the Camel - Users mailing list archive at Nabble.com.