You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Sandip Kumar <sa...@gmail.com> on 2011/01/22 09:18:46 UTC
Rubyscript
Hi,
I have made a external java class for example Hello.class which is
having function gettext which takes string as input parameter and return a
string . I want to make object of this Hello class in ruby script in synapse
and want to call the function gettext via ruby script in synapse . can i do
this ?
Thanking you in advance
SANDIP KUMAR
Re: Rubyscript
Posted by Heshan Suriyaarachchi <he...@gmail.com>.
Hi Sandip,
We do support execution of Ruby scripts through the use of Script mediator.
Following [1] is a script mediator sample. Hope it helps your question.
I am not clear about your question. Can you explain it a bit further?
[1] - http://synapse.apache.org/Synapse_Samples.html#Sample353
On Sat, Jan 22, 2011 at 1:48 PM, Sandip Kumar <sa...@gmail.com> wrote:
> Hi,
>
> I have made a external java class for example Hello.class which is
> having function gettext which takes string as input parameter and return a
> string . I want to make object of this Hello class in ruby script in
> synapse
> and want to call the function gettext via ruby script in synapse . can i do
> this ?
>
> Thanking you in advance
> SANDIP KUMAR
--
Regards,
Heshan Suriyaarachchi
http://heshans.blogspot.com/