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 CF5B210006 for ; Tue, 28 Apr 2015 12:49:51 +0000 (UTC) Received: (qmail 52860 invoked by uid 500); 28 Apr 2015 12:49:51 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 52817 invoked by uid 500); 28 Apr 2015 12:49:51 -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 52805 invoked by uid 99); 28 Apr 2015 12:49:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 12:49:51 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for dev@camel.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 12:49:45 +0000 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 6ADF6206A4 for ; Tue, 28 Apr 2015 12:49:25 +0000 (UTC) Received: by wgso17 with SMTP id o17so150444757wgs.1 for ; Tue, 28 Apr 2015 05:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=6OJB0Hsa2I23dMEwVY12iFadml/fDNqr4+AJxOHZjiQ=; b=ZpYvvCZnOiJY72zZFnwlaI2j2ZFlvUbE78HxlMaD5y/Tzf9WEGmRhD0UVTgB4gtuUr mKa9/vH0eLYZuw1I+6gx1xNmS1CpClZuDiuCl4NOzNU4jpc4iMWV+sDaxVEgA47k8zjL 6iiXElBxep6U4mmv2zjPIZmhx6PFeo7Zv5bM6Vxkix+L6YzKWDzcnuklsRJcqvaziqct seSZ3FxNMk+nj8bu/2NRFfeLiSRKRzeNlcgb3D4pcTFgfIvfegaZRxdT2iEl8OxoJxap 0xbyhcb0XcOaYonCra0YG8C3D84LViZ4PXatXebbR6/a5Xs/VSv//10BLxVbUITM2Rc6 Z1Sg== X-Received: by 10.180.98.195 with SMTP id ek3mr29680967wib.57.1430225363970; Tue, 28 Apr 2015 05:49:23 -0700 (PDT) MIME-Version: 1.0 References: <1430148878115-5766390.post@n5.nabble.com> <1430193009145-5766412.post@n5.nabble.com> In-Reply-To: <1430193009145-5766412.post@n5.nabble.com> From: Henryk Konsek Date: Tue, 28 Apr 2015 12:49:23 +0000 Message-ID: Subject: Re: Camel resequencer() is not working inside choice - java dsl To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=20cf301ee581c4b3610514c84a59 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301ee581c4b3610514c84a59 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Regarding 1) - you don't have to know the endpoints upfront because you can connect resequencer to the Recipient List using the direct endpoint. Just as Willem demonstrated. Cheers. wt., 28.04.2015 o 06:38 u=C5=BCytkownik Sumit napisa=C5=82: > Hi, > > Thanks for your quick reply. > > We have following concerns: > > 1. .to() will not fit in our case as we dont know the endpoint uris > earlier. > I determine the endpoints as java Set. So is there any workaround for thi= s? > > 2. If we put the messages in another queue after resequencing and run the > followinf code ---from(=E2=80=9Cdirect:A=E2=80=9D).recipientList(...) --= - concurrently > (mutiple threads) then will it maintain the same sequence. > > Your quick response is highly appreciated. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-resequencer-is-not-working-inside= -choice-java-dsl-tp5766390p5766412.html > Sent from the Camel Development mailing list archive at Nabble.com. > --20cf301ee581c4b3610514c84a59--