Hi all,
I am bit new to the script mediator. The synapse configuration language
mentions that we can define the which function to be executed in the
script if the script already exists (i.e. referred by a key). The script
can also be inlined according to the document, but in this case it
does
Saliya
If I remember correctly, if you do not specify the name of the function,
we look for a function named "mediate".. However, I agree with your view
that we should execute anything outside the functions.. we also need
someone to take the Script mediator to support JDK 1.6 :-) !
asankha
Saliya and Asankha,
I disagree here, note that these two modes handle two different scopes of
the scripts. Yes, it is possible to add a script with functions in the
inline scripting case, but this mode is rather expected to be used in very
simple mediation. In that case you do not have functions d
Ruwan Linton wrote:
Saliya and Asankha,
I disagree here, note that these two modes handle two different scopes
of the scripts. Yes, it is possible to add a script with functions in
the inline scripting case, but this mode is rather expected to be used
in very simple mediation. In that case yo
+1, and you are more than welcome to contribute to the project with these
documentation changes.
>>
>> If the concept is to facilitate simple scripts (i.e. without methods) in
> the inlined case and support any sort of a script in the external case then
> that's fine. Anyway it's useless to hav