Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 96137 invoked from network); 20 Nov 2008 16:35:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2008 16:35:25 -0000 Received: (qmail 81217 invoked by uid 500); 20 Nov 2008 16:35:32 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 80775 invoked by uid 500); 20 Nov 2008 16:35: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 80764 invoked by uid 99); 20 Nov 2008 16:35:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 08:35:31 -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 davanum@gmail.com designates 216.239.58.190 as permitted sender) Received: from [216.239.58.190] (HELO gv-out-0910.google.com) (216.239.58.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 16:34:05 +0000 Received: by gv-out-0910.google.com with SMTP id c6so151910gvd.22 for ; Thu, 20 Nov 2008 08:34:49 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=sCPYBIpscNupY1DJHaMVFlQj1+Dr7qGMe2LytOkNsqw=; b=ACxYJfHCkYzKGb0jJllnu1/mbaKm8AAraTid039NhyBGxhTckidGgB2qHaSgfLnIFt IJwsrnhNLt/5nAsBbFRHTEK9+4BWIdrGax7d22RIc/G3DxONHYu/yexRCnbb0nHuFsAI Ojp92hNCV9cyk3w3t3Ia+dZV9GXauiA9Ot12E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZXRAqS7VKKWqlN32MbbyAgDjjvCkU9MGVzXI7rk+q1YA1wSdwPh7+r9l3LtGKHKajX dP8chlDxp5cjyXYtP1nxNXlp30yN2a7H9eHrDCY3t+iPFLuEaN0UpxdthGiyu43K9PdH deh0q+wpFdcRWOANtw7zU2CE4gPbY73fxUq6g= Received: by 10.103.198.20 with SMTP id a20mr917908muq.63.1227198889357; Thu, 20 Nov 2008 08:34:49 -0800 (PST) Received: by 10.103.233.7 with HTTP; Thu, 20 Nov 2008 08:34:49 -0800 (PST) Message-ID: <19e0530f0811200834o3b028fdbsed33ff2c9f9fb109@mail.gmail.com> Date: Thu, 20 Nov 2008 11:34:49 -0500 From: "Davanum Srinivas" To: commons-dev@ws.apache.org Subject: Re: Committing patch contributed for MIME message parser and serializer based on Apache mime4j [WSCOMMONS-387] Cc: dev@synapse.apache.org, axis-dev@ws.apache.org In-Reply-To: <1227198668.12149.38.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49237DFA.7080308@wso2.com> <1227107809.7543.23.camel@ubuntu> <19e0530f0811190732i6c485fa0n90daf483c359f6a9@mail.gmail.com> <1227120501.7543.29.camel@ubuntu> <19e0530f0811191052re4b03a5rdeb0c0851f320b2d@mail.gmail.com> <1227186198.12149.33.camel@ubuntu> <492564ED.3060802@opensource.lk> <1227198668.12149.38.camel@ubuntu> X-Virus-Checked: Checked by ClamAV on apache.org Oleg, I totally agreed with you if you scroll back a few emails. Yes, we need to fix *that*. Any patch to do that will be *very* welcome. thanks, -- dims On Thu, Nov 20, 2008 at 11:31 AM, Oleg Kalnichevski wrote: > On Thu, 2008-11-20 at 10:08 -0600, Thilina Gunarathne wrote: >> Hi, >> >> >> Thilina, while I agree with "don't fix if it ain't broke", >> this is an *improvement* .. not a fix for the sake of a fix. I >> think we should do it. >> >> As even Oleg mentioned the MIME4J is around 15% slower than the >> current impl.. IMHO the issue which this patch tries to address (in >> memory buffering of SOAP part) is not much of an issue when used with >> attachments, cause most of the time people use small soap envelopes >> when they use attachments. Also I'm not sure whether MIME4J is as >> battle tested as the Axis2's current implementation. >> > > The real issue here has nothing to do with performance or even > unnecessary in-memory buffering. It is rather about inflexibility of the > existing MIME processing API and the hard coupling of what is meant to > be an abstract API with Attachment impl classes. Mime4j is merely an > implementation detail. > > Oleg > >> >> I totally agree that we should support MIME4J and we should do >> "improvements".. But since this does not come with any urgent fixes >> for something that's badly broken, I would prefer to do it in a little >> bit of a controlled fashion.. May be support both the impl's or do >> this in a branch first. >> >> >> Also I'm sorry, but I don't really like the approach people are taking >> in this issue.. Why is it that the decision is between commit the >> patch directly to trunk or throw away... Why cant' we come to a >> middle ground.. >> >> >> thanks, >> Thilina >> >> >> >> >> If it breaks something (like interop) we can always revert .. >> >> Sanjiva. >> -- >> Sanjiva Weerawarana, Ph.D. >> Founder & Director; Lanka Software Foundation; >> http://www.opensource.lk/ >> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ >> Member; Apache Software Foundation; http://www.apache.org/ >> Visiting Lecturer; University of Moratuwa; >> http://www.cse.mrt.ac.lk/ >> >> Blog: http://sanjiva.weerawarana.org/ >> >> >> >> -- >> Thilina Gunarathne - http://thilinag.blogspot.com > > -- Davanum Srinivas :: http://davanum.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org