Return-Path: Delivered-To: apmail-ws-synapse-dev-archive@www.apache.org Received: (qmail 70742 invoked from network); 14 Dec 2007 10:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 10:08:54 -0000 Received: (qmail 39333 invoked by uid 500); 14 Dec 2007 10:08:42 -0000 Delivered-To: apmail-ws-synapse-dev-archive@ws.apache.org Received: (qmail 39286 invoked by uid 500); 14 Dec 2007 10:08:42 -0000 Mailing-List: contact synapse-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: synapse-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list synapse-dev@ws.apache.org Received: (qmail 39275 invoked by uid 99); 14 Dec 2007 10:08:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 02:08:42 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ruwan.linton@gmail.com designates 209.85.134.191 as permitted sender) Received: from [209.85.134.191] (HELO mu-out-0910.google.com) (209.85.134.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 10:08:20 +0000 Received: by mu-out-0910.google.com with SMTP id g7so1511628muf.0 for ; Fri, 14 Dec 2007 02:08:20 -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:references; bh=Nkp7n3c/OHiw6KL/Yoazt5ViFHLX7Lt3GZsdF75823A=; b=RAkhBM1CzznaVpfOo7fRjlEpoG18O9X+HhFcqHj9etY4eH7gcBjaE/vOUrooXWCUpvxib9TkCrFUf+KKkcU3iA7aTtNcMXrD/xX//w0nGBzBdQggf8MIzmxFEgL+b8+19pNEFysrWZzAY1QsTlxLki5x6qs4A55CI8WJUUen9no= 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:references; b=wzKW1goBCwSH8INnYQSzeUyq/iIvQQTEUNHGPXtGl7An0cw7CzWfWxEe7FUU1fCYO742EWmSlbeAb6A4Yu9zae6oCHf08a9X1rE32skTFA/4Kh9ed3WJBrH+WKxCPJON1eOdH8CeyUdnY2bEgltELsmjZw3xFpbBU60KFjzc7Rk= Received: by 10.82.181.7 with SMTP id d7mr8305057buf.4.1197626899968; Fri, 14 Dec 2007 02:08:19 -0800 (PST) Received: by 10.82.188.12 with HTTP; Fri, 14 Dec 2007 02:08:19 -0800 (PST) Message-ID: <672a01200712140208o56b83c86h50d845956e5c4766@mail.gmail.com> Date: Fri, 14 Dec 2007 15:38:19 +0530 From: "Ruwan Linton" To: synapse-dev@ws.apache.org Subject: Re: POJOCommand mediator synatx In-Reply-To: <88f5d710712140022i32c7a531p9a24f1b0356b2ac9@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_431_21777401.1197626899899" References: <672a01200712112210r10f95215la6afccb1f7841b78@mail.gmail.com> <88f5d710712130747p26a12a17gaeb8b1523e1ff9@mail.gmail.com> <672a01200712131942g3304c7fen62896848416c6959@mail.gmail.com> <88f5d710712140022i32c7a531p9a24f1b0356b2ac9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_431_21777401.1197626899899 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Paul, On Dec 14, 2007 1:52 PM, Paul Fremantle wrote: > Ruwam I think you are referring to me (Ruwan) not some one named Ruwam :) Well, even though we need to keep the consistency, at the same time we have to keep the things simpler to understand and the implementation solid. But I don't see this as simple to understand. To me this syntax is cleaner than what you suggested. Thanks, Ruwan > > What I don't like about this is that everywhere else in Synapse we have a > consistent access to message context properties. Nowhere else do we use this > syntax. > > Whatever we do we need to sync it up with all the other places where we > get and set mc properties I think - e.g. DBLookup, etc. > > Paul -- Ruwan Linton http://www.wso2.org - "Oxygenating the Web Services Platform" ------=_Part_431_21777401.1197626899899 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Paul,

On Dec 14, 2007 1:52 PM, Paul Fremantle <pzfreo@gmail.com> wrote:
Ruwam

I think you are referring to me (Ruwan) not some one named Ruwam :)

Well, even though we need to keep the consistency, at the same time we have to keep the things simpler to understand and the implementation solid. But I don't see this as simple to understand.

To me this syntax is cleaner than what you suggested.

Thanks,
Ruwan



What I don't like about this is that everywhere else in Synapse we have a consistent access to message context properties. Nowhere else do we use this syntax.

Whatever we do we need to sync it up with all the other places where we get and set mc properties I think - e.g. DBLookup, etc.

Paul



--
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform" ------=_Part_431_21777401.1197626899899--