Camel and Prudence/Nashorn

19 views
Skip to first unread message

Sanford Whiteman

unread,
Mar 8, 2015, 7:12:32 PM3/8/15
to prudence-...@googlegroups.com
For my upcoming (and first!) Prudence project I've committed to using Nashorn (understanding the ongoing problems and need to build from -dev, but I need an ES5 environment).

Because of the Nashorn bugs and what I suspect to be its low adoption as yet, I don't know if anyone will have any insight, but: has anyone instantiated a CamelContext and sent messages to a SEDA queue from Nashorn? Any red flags about this concept, such as a marshaling barrier?

Thanks,

Sanford

Tal Liron

unread,
Mar 10, 2015, 3:07:57 PM3/10/15
to prudence-...@googlegroups.com
I would suggest JSON translation for marshalling.

You can use Nashorn's built-in JSON support, or try my high-performance library, included in Sincerity:

http://threecrickets.com/api/javascript/?namespace=Sincerity.JSON

https://code.google.com/p/json-jvm/
Reply all
Reply to author
Forward
0 new messages