From dev-return-12674-apmail-synapse-dev-archive=synapse.apache.org@synapse.apache.org Thu Sep 16 03:50:09 2010 Return-Path: Delivered-To: apmail-synapse-dev-archive@www.apache.org Received: (qmail 98457 invoked from network); 16 Sep 2010 03:50:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Sep 2010 03:50:09 -0000 Received: (qmail 24263 invoked by uid 500); 16 Sep 2010 03:50:08 -0000 Delivered-To: apmail-synapse-dev-archive@synapse.apache.org Received: (qmail 24083 invoked by uid 500); 16 Sep 2010 03:50:05 -0000 Mailing-List: contact dev-help@synapse.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@synapse.apache.org Delivered-To: mailing list dev@synapse.apache.org Received: (qmail 24076 invoked by uid 99); 16 Sep 2010 03:50:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 03:50:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hiranya911@gmail.com designates 209.85.216.42 as permitted sender) Received: from [209.85.216.42] (HELO mail-qw0-f42.google.com) (209.85.216.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Sep 2010 03:50:00 +0000 Received: by qwb8 with SMTP id 8so846781qwb.15 for ; Wed, 15 Sep 2010 20:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7CDGLjEqpcDRht2/sZuNGACNjUwSrcGkRgC2WcQRon8=; b=MEthctQ2ymw3uxFziqURia9iKF6rKjqV4aZR881uDyAN3p2xJIb6kkUeJf2smmD5rW mLSpdGHLCVoLxCWKsVtD30Upk2p8XTFWhZuctJmbH+rv+sbm3/Xvv8JGhBUP+ZobZZpg M1lwfJZ/tYWLcu7Ew324B4/0XANpTvuNIQZy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GKBWPM1nsAWLCy4fk9RANqgfbvKbOa8+rqVP/eqtDCvBHObKfFMHusjMcBYF7EoqAw JK0Hbub9RpyxkWTqGojzRhzVStqSI771K5na4AzAYDO3+dKPenBvTj21Ir4BJCaeVonV RdyYWzlgoO4Fxq7xOhe4jM7AAYklmw9RO5JZ0= MIME-Version: 1.0 Received: by 10.229.211.83 with SMTP id gn19mr1980616qcb.19.1284608979421; Wed, 15 Sep 2010 20:49:39 -0700 (PDT) Received: by 10.229.250.67 with HTTP; Wed, 15 Sep 2010 20:49:39 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Sep 2010 09:19:39 +0530 Message-ID: Subject: Re: Shall we make the iteration run in a single thread? From: Hiranya Jayathilaka To: dev@synapse.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Sep 16, 2010 at 9:14 AM, Supun Kamburugamuva wr= ote: > > > On Wed, Sep 15, 2010 at 7:00 PM, Hiranya Jayathilaka > wrote: >> >> On Wed, Sep 15, 2010 at 6:51 PM, Supun Kamburugamuva >> wrote: >> > Right now synapse iterate mediator create a new thread for each >> > iteration. >> > Shall we make it possible to iterate without creating a=A0separate=A0t= hread? >> > For example lets say we want to iterate over a message and do several >> > calls. >> > But these calls have to be done in order. In this case this will be >> > useful. >> >> I'm +1 for this. While implementing certain scenarios I have felt the >> requirement of this feature. But it must be implemented as an optional >> mode of operation (say sequential mode) of the mediator. By default >> the iterate mediator should use multiple threads to process message >> fragments as it does now. > > +1, this was the exact idea in my mind as well. > How about saying ? +1 Thanks, Hiranya > Thanks, > Supun.. >> >> eg: >> >> >> .... >> >> >> By default the sequential mode should be turned off. >> >> Thanks, >> Hiranya >> >> > >> > Thanks, >> > Supun.. >> > >> > -- >> > Tech Lead, WSO2 Inc >> > http://wso2.org >> > supunk.blogspot.com >> > >> > >> > >> >> >> >> -- >> Hiranya Jayathilaka >> Senior Software Engineer; >> WSO2 Inc.;=A0 http://wso2.org >> E-mail: hiranya@wso2.com;=A0 Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org >> For additional commands, e-mail: dev-help@synapse.apache.org >> > > > > -- > Tech Lead, WSO2 Inc > http://wso2.org > supunk.blogspot.com > > > --=20 Hiranya Jayathilaka Senior Software Engineer; WSO2 Inc.;=A0 http://wso2.org E-mail: hiranya@wso2.com;=A0 Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org For additional commands, e-mail: dev-help@synapse.apache.org