synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ant elder" <ant.el...@gmail.com>
Subject Re: Proposal to combine the Inline script mediator with the Script mediator
Date Tue, 13 Mar 2007 12:38:50 GMT
How are you getting on with this, are you still planing on looking at it? Is
there anything I could do to help? Or take it one if you don't have time to
do it now? Be good to try to get it done in time for the 1.0 release.

   ...ant

On 2/22/07, Kasun Samarasinghe <kasun@wso2.com> wrote:
>
> Hi
>
> Currently Synapse supports two variants for script mediation, where the
> script could be specified through a property or inline.
>
> E.g.
> <set-property name="prop" src="scriptfile.LL"/>
>
> in mediation
> <script key="prop" function="mediation_function"/>
>
>
> In line mediators where we specify the script type in it self as LL
> E.g.
> <script.LL><![CDATA[
>           some script......
> ]]></script.LL>
>
> I think these could be combined into one single script mediator.  Also,
> I think its better to explicitly specify the script language, as
> guessing the language when the script is specified by a property may
> not
> always be reliable. So the suggestion is
>
> E.g
> <script type="LL" [key="prop"] [function="mediation_function"]>
>         <![CDATA[.. inline script ..]]>?
> </script>
>
> What do you think? I would be happy to raise a jira and submit a patch
> for this enhancement
>
> thanks
> kasun
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>

Mime
View raw message