Encountered the same issue above and resolved it. Adding our solution in case
this helps with anyone else who finds this page through google like we did.

Make sure that the mvn bundle,

org.apache.camel/camel-script

is also included in your servicemix. We were using servicemix 4.3 and we had
to add this before anything would work. This bundle was not included by
default in the servicemix-script features, though we "thought" it was
because we saw this bundle, org.apache.servicemix/servicemix-scripting, in
the features and thought it was the same bundles with a different names.

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Exception-when-using-JavaScript-expression-in-Camel-routes-tp4758137p5700484.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to