Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 48632 invoked from network); 7 Nov 2005 05:06:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Nov 2005 05:06:34 -0000 Received: (qmail 65615 invoked by uid 500); 7 Nov 2005 05:06:32 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 65578 invoked by uid 500); 7 Nov 2005 05:06:31 -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 65567 invoked by uid 99); 7 Nov 2005 05:06:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 21:06:31 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chathurah@gmail.com designates 66.249.82.195 as permitted sender) Received: from [66.249.82.195] (HELO xproxy.gmail.com) (66.249.82.195) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2005 21:06:25 -0800 Received: by xproxy.gmail.com with SMTP id i26so296536wxd for ; Sun, 06 Nov 2005 21:06:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V2YWK9HZ9etIHSD5ExOoPhYbdJXXKsWVo/CqLInP56vCJP9cb4DrDSTPwvsVq7aTAxgZJiGUUmyuXWkxBOXQv6tMYKu2NwrOLXpzHfvh+RFTOPVUWjVRACZG8eYGKl4HZ28Ef7JS9jf73ud5aKc5GDnNAQN/gy5kg8J0Mv33/Ls= Received: by 10.70.41.12 with SMTP id o12mr4558188wxo; Sun, 06 Nov 2005 21:06:10 -0800 (PST) Received: by 10.70.15.18 with HTTP; Sun, 6 Nov 2005 21:06:10 -0800 (PST) Message-ID: <3ce57c850511062106v1ff8238dg7ab54c8fbe72c9a1@mail.gmail.com> Date: Mon, 7 Nov 2005 00:06:10 -0500 From: Chathura Herath To: axis-dev@ws.apache.org Subject: Re: [Axis2]New Feature - Sending same message to more than One Recepcient In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <436C4651.7090103@opensource.lk> <3ce57c850511042332p6c665159tbb30c7c410da37c5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Not that straight forward. How would you handle addressing which is part of the soap processing model in a transport. In my view other QOS are out of the question if you want to do multiplexing. Chathura On 11/5/05, Ajith Ranabahu wrote: > Hi All, > Here's my view on this. If I remember right there was some discussion wa= y > back on this and it ended up with the understanding that something like t= his > ends up with a pub-sub architecture. So what I think is that this > multiplexing could be handled as a different transport which abstracts al= l > addressing and other QOS issues. The particular transport sender also > handles subscriptions so Axis wouldn't know anything about it! > > > > On 11/5/05, Chathura Herath wrote: > > Actually i am trying to implement this kind of transport multiplexing > > thing for some other project and one further problem that i faced was > > how to handle the addressing stuff. So IMO multiplexing should start > > at the addressing out handler because the addressing headers are > > different for the out going messages. This is kind of messy though and > > kills the grace of the SOAP processing model. Further the nice > > application for this, which would be WS-notification and WS-Eventing > > both have ws addressing around. > > > > Actually Eran think of a Notification framework where you have 20 > > Notification consumers. So instead of making 20 call invocations we > > can write a transport (or an addressing handler) such that it will > > deliver the same message to the different Notification consumers(20). > > call.setToList(eprList); > > call.invokeBlocking(...) > > > > So the message will go through the soap processing model only once. > > So only one OM for the most part. There are other complications like > > different consumers requiring different policies, but from my personal > > experience of Notification and eventing i know that almost all the > > notifications that are sent out are same except for the addressing > > headers. > > > > Believe me this feature would come in handy when we eventually > > implement Notification and eventing. > > > > Chathura. > > > > On 11/5/05, Eran Chinthaka wrote: > > > Hi Srinath, > > > > > > can't wedo this by changing the toEPR in the Call api and invoke the > > > method ? Sorry if I understood this wrong. > > > > > > for example; > > > call.setTo(eprOne) > > > call.ivokeBlocking(.....); > > > > > > call.setTo(eprTwo) > > > call.invokeBlocking(...) > > > > > > > > > > > > Srinath Perera wrote: > > > > > > >Hi All; > > > > > > > >Shall we add a support to users to send same message to more than on= e > > > >recipients? > > > > > > > >Motivate for the doing this is if we need to send same message to 20 > > > >recipients, (e.g. Publish Subscribe) . If user create 20 Calls it wi= ll > > > >be very expensive and if we do the thingy inside Axis2 we can set t= he > > > >OM caching true and reuse at least part of the Message to multiple > > > >invocations. > > > > > > > >I do not feel this should be done at the transport sender level (e.g= . > > > >We need different addressing properties). I feel we should have > > > >different Pipe for each while sharing the same SOAP Body. I think > > > >about something like MultiOutClient (or PublisherClient .. I am not > > > >sure ) add to Client API > > > > > > > >I am thinking aloud :), this could actually get very complex > > > >thoughts? > > > > > > > >Thanks > > > > > > > >Srinath > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Chathura Herath > > http://www.bloglines.com/blog/chathurah > > > > > > -- > Ajith Ranabahu -- Chathura Herath http://www.bloglines.com/blog/chathurah