Also, i have another question on how to pass arguments to a Javascript  from
route. I have the following route,

 <route id="callTokenService">
        <from uri="direct:inter1" />
                <log message="Routing to Javascript" loggingLevel="INFO" />
<log message="Message body ${in.body}" loggingLevel = "INFO" />
                <to 
uri="language:javascript:file:/data/product/generatetoken.js" />

When i try to pass arguments to this Javascript (generatetoken(key).js), it
throws error saying file not found. The argument is being considered as a
file name here. Can you let me know how to pass arguments to a Javascript?

Thanks,
Anish




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Restlet-tp5767988p5770216.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to