With JDK 8, there is an in-build JS engine called Nashorn. Isn't that worth
to leverage the JS support by using native implementation to JDK 8?


[1]
http://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html

On Sun, Apr 10, 2016 at 11:57 PM, Malaka Silva <[email protected]> wrote:

> PrabathAR has already found a way to support this using existing rhino
> version. There is a configuration to optimize the execution.
>
> @PrabathAR - Can you give us more details on this please?
>
> On Mon, Apr 11, 2016 at 12:22 PM, Nuwan Pallewela <[email protected]> wrote:
>
>> Hi All,
>>
>> There is a limitation in wso2 script mediator when we try to manipulate
>> payloads with JavaScript as the scripting language, when the Payload size
>> is larger than 64KB, ESB throws an exception. Cause for this is Rhino
>> version which is used by the script mediator has a limitation of handling
>> JavaScript objects of size 64KB or more. But rhino have fixed it in the
>> later versions. So we can include new rhino and nashorn engines as the
>> script engine for JS in script mediator and avoid the limitation of
>> handling larger payloads.
>> Can we do this improvement to ESB 5.0.0 release?
>>
>> Thanks,
>> Nuwan
>>
>> --
>> ----------------------------------------------------------
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *[email protected] <[email protected]>*
>> Mobile  *+94719079739 <%2B94719079739>@*
>>
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Vanjikumaran Sivajothy
*Associate Technical Lead*
*WSO2 Inc. http://wso2.com <http://wso2.com/>*
 *+1-925-464-6816*
[image: Facebook] <https://www.facebook.com/vanjikumaran> [image: Twitter]
<https://twitter.com/vanjikumaran> [image: LinkedIn]
<http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> [image:
Blogger] <http://vanjikumaran.blogspot.com/> [image: SlideShare]
<http://www.slideshare.net/vanjikumaran>

This communication may contain privileged or other confidential information
and is intended exclusively for the addressee/s. If you are not the
intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print,
copy, re-transmit, disseminate, or otherwise use the information contained
in this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to