You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Sanjiva Weerawarana <sa...@opensource.lk> on 2008/10/26 19:31:48 UTC

rename mediator to mediator

I propose that we $subject. The reason is that the element <property> is 
used with totally different semantics in separate parts of synapse. This 
can be done in a backwards compatible manner - continue to support it 
but deprecate the name and log a warning.

Can we do this for the next release?

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/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Paul,

We were not using the character "-" in element names through out the
configuration language till now and I would like to keep it consistent.
Therefore I prefer

<modProperty/> over <mod-property/>

Thanks,
Ruwan

On Mon, Oct 27, 2008 at 5:45 PM, Paul Fremantle <pz...@gmail.com> wrote:

> Yes I did notice we'd end up saying
>
> <set-property name="propname" action="remove"/>
>
> What about
> <mod-property/> ?
>
> Paul
>
> On Sun, Oct 26, 2008 at 6:40 PM, Andreas Veithen
> <an...@gmail.com> wrote:
> > The existing <property> mediator has an "action" attribute that can be
> > "set" or "remove". Therefore renaming it to <set-property> doesn't
> > make sense to me.
> >
> > Andreas
> >
> > On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
> > <sa...@opensource.lk> wrote:
> >> I propose that we $subject. The reason is that the element <property> is
> >> used with totally different semantics in separate parts of synapse. This
> can
> >> be done in a backwards compatible manner - continue to support it but
> >> deprecate the name and log a warning.
> >>
> >> Can we do this for the next release?
> >>
> >> 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/
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> >> For additional commands, e-mail: dev-help@synapse.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> > For additional commands, e-mail: dev-help@synapse.apache.org
> >
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/

Re: rename mediator to mediator

Posted by Paul Fremantle <pz...@gmail.com>.
Yes I did notice we'd end up saying

<set-property name="propname" action="remove"/>

What about
<mod-property/> ?

Paul

On Sun, Oct 26, 2008 at 6:40 PM, Andreas Veithen
<an...@gmail.com> wrote:
> The existing <property> mediator has an "action" attribute that can be
> "set" or "remove". Therefore renaming it to <set-property> doesn't
> make sense to me.
>
> Andreas
>
> On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
> <sa...@opensource.lk> wrote:
>> I propose that we $subject. The reason is that the element <property> is
>> used with totally different semantics in separate parts of synapse. This can
>> be done in a backwards compatible manner - continue to support it but
>> deprecate the name and log a warning.
>>
>> Can we do this for the next release?
>>
>> 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/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by Andreas Veithen <an...@gmail.com>.
Sounds good.

Andreas

On Tue, Oct 28, 2008 at 12:20, Sanjiva Weerawarana
<sa...@opensource.lk> wrote:
> OK how about replacing the current one with two mediators: set-property and
> remove-property?
>
> Consistent with get-property.
>
> Sanjiva.
>
> Andreas Veithen wrote:
>>
>> The existing <property> mediator has an "action" attribute that can be
>> "set" or "remove". Therefore renaming it to <set-property> doesn't
>> make sense to me.
>>
>> Andreas
>>
>> On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
>> <sa...@opensource.lk> wrote:
>>>
>>> I propose that we $subject. The reason is that the element <property> is
>>> used with totally different semantics in separate parts of synapse. This
>>> can
>>> be done in a backwards compatible manner - continue to support it but
>>> deprecate the name and log a warning.
>>>
>>> Can we do this for the next release?
>>>
>>> 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/
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>>> For additional commands, e-mail: dev-help@synapse.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>
> --
> 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/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by indika kumara <in...@gmail.com>.
+1 for set-property and remove-property or setProperty and removeProperty

Thanks
Indika

On Tue, Oct 28, 2008 at 4:50 PM, Sanjiva Weerawarana
<sa...@opensource.lk> wrote:
> OK how about replacing the current one with two mediators: set-property and
> remove-property?
>
> Consistent with get-property.
>
> Sanjiva.
>
> Andreas Veithen wrote:
>>
>> The existing <property> mediator has an "action" attribute that can be
>> "set" or "remove". Therefore renaming it to <set-property> doesn't
>> make sense to me.
>>
>> Andreas
>>
>> On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
>> <sa...@opensource.lk> wrote:
>>>
>>> I propose that we $subject. The reason is that the element <property> is
>>> used with totally different semantics in separate parts of synapse. This
>>> can
>>> be done in a backwards compatible manner - continue to support it but
>>> deprecate the name and log a warning.
>>>
>>> Can we do this for the next release?
>>>
>>> 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/
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>>> For additional commands, e-mail: dev-help@synapse.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>
> --
> 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/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
OK how about replacing the current one with two mediators: set-property 
and remove-property?

Consistent with get-property.

Sanjiva.

Andreas Veithen wrote:
> The existing <property> mediator has an "action" attribute that can be
> "set" or "remove". Therefore renaming it to <set-property> doesn't
> make sense to me.
> 
> Andreas
> 
> On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
> <sa...@opensource.lk> wrote:
>> I propose that we $subject. The reason is that the element <property> is
>> used with totally different semantics in separate parts of synapse. This can
>> be done in a backwards compatible manner - continue to support it but
>> deprecate the name and log a warning.
>>
>> Can we do this for the next release?
>>
>> 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/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
> 

-- 
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/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by Andreas Veithen <an...@gmail.com>.
The existing <property> mediator has an "action" attribute that can be
"set" or "remove". Therefore renaming it to <set-property> doesn't
make sense to me.

Andreas

On Sun, Oct 26, 2008 at 19:31, Sanjiva Weerawarana
<sa...@opensource.lk> wrote:
> I propose that we $subject. The reason is that the element <property> is
> used with totally different semantics in separate parts of synapse. This can
> be done in a backwards compatible manner - continue to support it but
> deprecate the name and log a warning.
>
> Can we do this for the next release?
>
> 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/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: rename mediator to mediator

Posted by Paul Fremantle <pz...@gmail.com>.
I agree it is overloaded. +1

Paul

On Sun, Oct 26, 2008 at 6:31 PM, Sanjiva Weerawarana
<sa...@opensource.lk> wrote:
> I propose that we $subject. The reason is that the element <property> is
> used with totally different semantics in separate parts of synapse. This can
> be done in a backwards compatible manner - continue to support it but
> deprecate the name and log a warning.
>
> Can we do this for the next release?
>
> 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/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org