1 2 Previous Next 16 Replies Latest reply on May 11, 2011 7:06 PM by Ben Clark

    Scripting

    Ben Clark Newbie

      Hi guys

       

      I have a problem but I didn't find the answer on the internet: from a camel route I'm trying to access to a script file

       

      My camel-context is the following:

       

      <scripting:endpoint

              service="test:script"

              endpoint="scriptEndpoint"

              script="classpath:script/script.js" />

       

      And my camel route seems like:

       

      from("seda:javascript").

           to("language://javascript:scriptEndpoint");

       

      But Servicemix told me that the "scriptEndpoint" is not defined.. So I wondering how can I access to my scripting-endpoint to launch a Javascript ?

       

      Thanks in advance!

        1 2 Previous Next