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 A1113D01A for ; Mon, 26 Nov 2012 10:45:07 +0000 (UTC) Received: (qmail 42427 invoked by uid 500); 26 Nov 2012 10:45:07 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 42215 invoked by uid 500); 26 Nov 2012 10:45:06 -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 42197 invoked by uid 99); 26 Nov 2012 10:45:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 10:45:06 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ch007m@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 10:44:59 +0000 Received: by mail-vb0-f45.google.com with SMTP id p1so13506205vbi.32 for ; Mon, 26 Nov 2012 02:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QVbyYTDSmnkruLKlQbt6/vYD8NU44uAGyo5fkzkYvws=; b=TQH/WXM3HhZ9fMGBlt8WD56SEzMqqb2pidtXv0hfP31pxb7MzozhekMFb+G7Q+f3gL 0TLmhT/xQTwD9MAWW2UjikLRCuCjj8/AjUljS2xnZfBHsx2oWvPyTiMT7fQNi7SzH6tA 79ekkVClTxT9P6vN62FN+lZw55YGXhTLy9MxVf6Nryu8CI61n3hUIdN1iNT+UwOihdXA r7YvvJN0dNgmGbqGiqlCCP/+qCdGqs9Q7uOjgD1mp7bPZjBrk+ixYEwVHJWmFPqvZfh8 6S6U9r9ImdBftOSKbpOp/WUAx8tDCwVha+MAKa8ZHr6y2mpgX8VwFTiSV/NUymxw2Y9I quTQ== MIME-Version: 1.0 Received: by 10.52.36.69 with SMTP id o5mr16543950vdj.0.1353926679029; Mon, 26 Nov 2012 02:44:39 -0800 (PST) Received: by 10.58.54.209 with HTTP; Mon, 26 Nov 2012 02:44:38 -0800 (PST) In-Reply-To: <1353926151967-5723226.post@n5.nabble.com> References: <1353917832776-5723219.post@n5.nabble.com> <1353926151967-5723226.post@n5.nabble.com> Date: Mon, 26 Nov 2012 11:44:38 +0100 Message-ID: Subject: Re: inOnly and original MEP From: Charles Moulliard To: users@camel.apache.org Content-Type: multipart/alternative; boundary=20cf30781310c167b504cf639e91 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30781310c167b504cf639e91 Content-Type: text/plain; charset=ISO-8859-1 If you would like to send the same original message to several endpoints (= other systems), then you use the multicast EIP pattern ( http://camel.apache.org/multicast.html) which will copy for the message to the destination endpoints. Question : Do you send the message (= event) without taking care about the response or are you expecting the response ? On Mon, Nov 26, 2012 at 11:35 AM, maxence.dewil wrote: > Thank you for your responses. > > What I'm trying to implement is a main route that sends synchronous events > to other systems (= direct:eventRoute). > > So if I understand well, to implement this pattern, each time I send an > event, I have to: > - copy the original body in a property or header > - send the event > - restore the original body from the property or header > - set it as route output > - clear the property or header > > Am I right ? > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/inOnly-and-original-MEP-tp5723219p5723226.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com --20cf30781310c167b504cf639e91--