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 D0E68E084 for ; Mon, 11 Feb 2013 16:57:27 +0000 (UTC) Received: (qmail 46711 invoked by uid 500); 11 Feb 2013 16:57:27 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46679 invoked by uid 500); 11 Feb 2013 16:57:27 -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 46670 invoked by uid 99); 11 Feb 2013 16:57:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 16:57:27 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sully6768@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 16:57:20 +0000 Received: by mail-pa0-f52.google.com with SMTP id fb1so3196532pad.39 for ; Mon, 11 Feb 2013 08:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=wfNgqq/eS1WdlbB2VmQrAvX5a8DOyNEjknRrEWF5338=; b=SIyk83o4FvncFk3U5Y9cOnpOYY67QeC9vMEnvjaIN2uEVkUtq39lTvJV1j5TwI93A8 SreJfY3IG72bl0/iZuSozLlAD23fEoC3ZvaCTefVQGGVK6qBNbopOH93H8bIJ6Jq5Pfq ZfOtw6aYokTfqSoGF8VFbHuj2ww+PvMmgtQmpdBM2GFVJ8YTzUrNbIB0vjzCI+4g+QR8 9bhF5D9mVaw5hmZ4GQdkkHuVerl6R2ZJBs8xgz4ZHLkbCrc7FEEQ46F2+joHLBA16ffL Eb8XS02n6/fRKXlcjysCzG7rBvKSYMrnUOV9+kjAFMVm7oHwklWoU2JVa8bPltn02tMO /tIA== X-Received: by 10.66.226.71 with SMTP id rq7mr25159474pac.80.1360601819024; Mon, 11 Feb 2013 08:56:59 -0800 (PST) Received: from [198.18.66.109] ([206.15.84.247]) by mx.google.com with ESMTPS id a4sm67860564paw.21.2013.02.11.08.56.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 08:56:58 -0800 (PST) References: <511665CD.1050500@googlemail.com> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: multipart/alternative; boundary=Apple-Mail-60274570-4AFF-48B0-B3A9-5E4425E58BC3 Content-Transfer-Encoding: 7bit Message-Id: <833F2274-B46E-49FF-94FF-55BCC43420F2@gmail.com> Cc: "users@camel.apache.org" X-Mailer: iPhone Mail (10B143) From: Scott England-Sullivan Subject: Re: SJMS and InOut Date: Mon, 11 Feb 2013 08:56:56 -0800 To: "users@camel.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-60274570-4AFF-48B0-B3A9-5E4425E58BC3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable After looking at it they don't appear to behave the same. The parameter sets= the exchange pattern at initialization while the inOut() method sets the ex= change at runtime. Is that what you would expect Claus? Scott England-Sullivan blog:sully6768.blogspot.com twitter:@sully6768 On Feb 9, 2013, at 9:51 PM, Claus Ibsen wrote: > On Sat, Feb 9, 2013 at 4:05 PM, Harald Wellmann w= rote: >> I'm rather confused by the different flavours of InOut. >>=20 >> What's the difference between >>=20 >> 1) from("direct:calculatorProxy") >> .inOut("sjms:calculator-queue"); >>=20 >> and >>=20 >> 2) from("direct:calculatorProxy") >> .to("sjms:calculator-queue?exchangePattern=3DInOut"); >>=20 >> inOut() in 1) does not seem to make any difference from to() at all. >=20 > Its the same. >=20 > There is a couple of ways of doing this. See the request-reply eip pattern= . > http://camel.apache.org/request-reply.html >=20 > And when using Java code, you can also read the javadoc of the methods > as well as they may also contains some information. >=20 >=20 >=20 >=20 >> Best regards, >> Harald >=20 >=20 >=20 > --=20 > Claus Ibsen > ----------------- > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cibsen@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen --Apple-Mail-60274570-4AFF-48B0-B3A9-5E4425E58BC3--