Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 92162 invoked from network); 2 Jan 2008 14:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 14:57:48 -0000 Received: (qmail 71369 invoked by uid 500); 2 Jan 2008 14:57:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 71318 invoked by uid 500); 2 Jan 2008 14:57:36 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 71307 invoked by uid 99); 2 Jan 2008 14:57:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 06:57:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davidillsley@gmail.com designates 209.85.134.189 as permitted sender) Received: from [209.85.134.189] (HELO mu-out-0910.google.com) (209.85.134.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 14:57:13 +0000 Received: by mu-out-0910.google.com with SMTP id w8so3378219mue.1 for ; Wed, 02 Jan 2008 06:57:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=q5tbAvfgNF+b0+2zAusQHD/AciziKB/FCp2Ao0rg4LQ=; b=vDIp3mLHwpam/yAi05j+N3gucVFPzRaMJtwwTTecRa1GmzchL76qfhBPM4f7qMr15aUnd10tgCbXHeO5y+Fl/TtWt9KlqkgtD00vhPus+Bp2U7Cpu6Nl2tN6ZY4OuiEeFG9H3QxQ7y2ni1eUmcAUDOya8tqfr2gjiTXBy503wFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K2hq97lpRtihowf9EqE+6JHoSaFJrvnuJ+inTvJ3y/6TF2P3TWaW/RAuo9RuDTqFoov9c/uZV75iWFZsdZvaccIIedxtb7Z+/ZXhBLdg0qfxtAdbLi4z45RAF+nlTWHaxEY4pV6AkUb+zEisH0r+QPfYk6BaJdK6a2I4QF7ByMs= Received: by 10.78.139.14 with SMTP id m14mr16778756hud.25.1199285834370; Wed, 02 Jan 2008 06:57:14 -0800 (PST) Received: by 10.78.107.6 with HTTP; Wed, 2 Jan 2008 06:57:14 -0800 (PST) Message-ID: <9abd5e730801020657o7190371ax1fa4442f53a9689c@mail.gmail.com> Date: Wed, 2 Jan 2008 14:57:14 +0000 From: "David Illsley" To: axis-dev@ws.apache.org Subject: Re: [Axis2] Dynamic Phase support In-Reply-To: <47788758.9060608@thoughtcraft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <58e502250712260815x297824bdo466b1a15c3c061fb@mail.gmail.com> <47728258.6010309@thoughtcraft.com> <9abd5e730712261539x655c115m4fa362d0c1e89fd2@mail.gmail.com> <58e502250712270808t739c6644sab25263336b25e08@mail.gmail.com> <60708f4b0712280409r5033c4dct953870a7631c1529@mail.gmail.com> <58e502250712280754m72778a25u18eb5797c270e873@mail.gmail.com> <60708f4b0712282225r2323e55bsbd8e6f96329d4b13@mail.gmail.com> <58e502250712292353l214c9099i8e7e52cb121bacfa@mail.gmail.com> <47788758.9060608@thoughtcraft.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Glen, Happy New Year :-) I was wondering when we might get a chance to see your dynamic phase code? Cheers, David On Dec 31, 2007 6:08 AM, Glen Daniels wrote: > Hi Deepal, Amila: > > Deepal Jayasinghe wrote: > > The problem is we have a set of default handlers then we add using > > axis2.xml , so example for those handler could be our dispatchers. So > > if we remove those from axis2.xml where are we going to put them ? > > The core stuff like basic dispatchers should, I think, stay in > axis2.xml. But module-specific stuff (including the WSA dispatcher) > could move out to the module.xmls. > > >> I think before doing any implementation we need to come to an agreement with > >> what we expect as the dynamic phase support. > > +1 > > OK. I made some more implementation progress, which we should discuss. > > >> Then the question comes, where we going to put the dispatch and transport > >> phases? Those things can also be added to new module called Dispatch module > >> (or default phase module) and shift with axis2 like addressing module. > > > > :) > > > > I think those dispatchers are core part of axis2 so , I do not agree > > on moving them to a module. Rather I really wanted to get rid from > > addressing module and keep them as core part of Axis2. > > Hm - I agree with the first sentence, I think there are and should be > core dispatchers in axis2. I'm not sure about the second sentence... > > >> So a module.xml (the only place to define the phases and hence handlers) has > >> the following format. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > I like this syntax a lot - this way it could be identical between > axis2.xml and module.xml. That seems like a very good thing to me. We > need to keep supporting the old syntax too, but this seems much cleaner. > > Note that the desired behavior here is a merge - so if multiple modules > (or core stuff in axis2.xml) all put handlers into the "Foo" phase, we > should verify that all the constraints (including the location of "Foo" > in the flow) are compatible with each other, and calculate the > end-result for the order based on all of them. > > >> 'Phases and Handlers can only be defined in the module.xml and a phase can > >> be placed within a flow using phase rules (after, before, phase first, phase > >> last) and a handler can be placed within a phase using handler rules. > > Aside from the "only", this looks great. :) The code that I recently > implemented supports this idea in general - not specifically tied to > Handlers or Phases, but usable for either/both. > > Cheers, > --Glen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-dev-help@ws.apache.org > > -- David Illsley - IBM Web Services Development --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org