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 34FA1200BDF for ; Sun, 4 Dec 2016 00:51:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3396A160B28; Sat, 3 Dec 2016 23:51:19 +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 565F5160B16 for ; Sun, 4 Dec 2016 00:51:18 +0100 (CET) Received: (qmail 78976 invoked by uid 500); 3 Dec 2016 23:51:17 -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 78965 invoked by uid 99); 3 Dec 2016 23:51:16 -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; Sat, 03 Dec 2016 23:51:16 +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 4921A1AABD2 for ; Sat, 3 Dec 2016 23:51:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.487 X-Spam-Level: ***** X-Spam-Status: No, score=5.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HTML_MESSAGE=2, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-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 fqaqsU1kECzx for ; Sat, 3 Dec 2016 23:51:12 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7DAB35F20B for ; Sat, 3 Dec 2016 23:51:11 +0000 (UTC) Received: from static.162.255.23.22.macminivault.com (unknown [162.255.23.22]) by mwork.nabble.com (Postfix) with ESMTP id 05E687484E74F for ; Sat, 3 Dec 2016 16:51:04 -0700 (MST) Date: Sat, 3 Dec 2016 16:51:04 -0700 (MST) From: souciance To: users@camel.apache.org Message-ID: In-Reply-To: <1480808411837-5790971.post@n5.nabble.com> References: <1480787223992-5790968.post@n5.nabble.com> <1480808411837-5790971.post@n5.nabble.com> Subject: Re: Camel Help MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_132414_1806868334.1480809064014" archived-at: Sat, 03 Dec 2016 23:51:19 -0000 ------=_Part_132414_1806868334.1480809064014 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit If you have bought the license for it I suggest it is better to ask Red Hat about it. In general I think the graphical tool, although quite useful and nice, will probably require a few versions until it is stable enough for everyday use. I think there is a graphical mapper also released that you can test. It was the same for other graphical based tools such as IBM's WMB which didn't really because a stable until version 7 and 8. I can tell you that once you get familar with the java dsl there isn't that much code to write. What takes time is knowing how to organize your routes, increase performance and stuff like that. Those things you would need to do regardless of which approach you use. On Sun, Dec 4, 2016 at 12:40 AM, kaiser75 [via Camel] < ml-node+s465427n5790971h64@n5.nabble.com> wrote: > I am doing the simple examples first. As far the my rest service is > considered, it will invoked by one of our internal systems. I understand > that you can code it using the Java DSL but I was trying to avoid it and I > wanted to see if I can orchestrate the flow I mentioned graphically using > the fuse IDE, I have not had any luck doing it. > > souciance wrote > Hello, > > Well, how far have you got so far? > > Basically, Camel in a very simple way tries to make the connection between > the sender and receiver as simple as possible and is based on various > components. So you have a component for http, another for rest, another > for > transform and another for rabbitmq. You then have to use these and > "connect > the dots" to get a fully functioning publisher and consumer. So your > consumer can be something like: > > from("rabbitmq://localhost?yourExchange) > .choice() > .when(header("someheader") > .isEqualTo("someValue) > .to("someendpoint") > .otherwise() > .("someotherendpoint) > end(); > > I have not filled in all the parameters for routing key and the subscriber > queue. You can find more details on the Camel rabbitmq page. > > As for your publisher. How will your publisher be triggered? Something > needs to trigger that http post. > > I would say best approach is to not start building your project. Start > with > a hello world example and then move to more complicated scenarios. Build a > simple file transfer example. Just move a file from one folder to another. > Once you figured that out you understand the basics and can then move to > more complicated scenarios. > > Best > Souciance > > > > On Sat, Dec 3, 2016 at 6:47 PM, kaiser75 [via Camel] < > [hidden email] > > wrote: > > > Hello, > > > > I'm going thru the camel in action book , its informative but not very > > prescriptive. I'm looking to a build a simple publisher and consumer > flow > > using the Fuse opensource IDE with minimum coding, but there are so many > > ways of doing of what I need but not much clarity on the how to. Can > > somebody please shed some light on it. > > > > My publisher would be something like this > > > > http post -> Rest Service -> transform -> write to RabbitMQ > > > > My consumer is > > > > Read from RMQ -> Route to other RMQ's based on content > > > > Any help in guiding me is much appreciated. > > > > Thanks > > Kaiser > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > http://camel.465427.n5.nabble.com/Camel-Help-tp5790968.html > > To start a new topic under Camel - Users, email > > [hidden email] > > To unsubscribe from Camel - Users, click here > > unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > . > > NAML > > viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces. > BasicNamespace-nabble.view.web.template.NabbleNamespace- > nabble.view.web.template.NodeNamespace&breadcrumbs= > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Camel-Help-tp5790968p5790971.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428h31@n5.nabble.com > To unsubscribe from Camel - Users, click here > > . > NAML > > -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Help-tp5790968p5790972.html Sent from the Camel - Users mailing list archive at Nabble.com. ------=_Part_132414_1806868334.1480809064014--