Details
Description
IMHO this can be useful.
I will provide asap the documentation
To try it
features:install web-script-console
- Point the browser on servicemix webconsole
- Main tab and select Script Console
Execute this script
import org.apache.camel.* import org.apache.camel.impl.* import org.apache.camel.builder.* def camelContext = new DefaultCamelContext() camelContext.addRoutes(new RouteBuilder() { def void configure() { from("timer://foo?period=3000") .to("log://fooLogger?level=INFO") .process(new Processor() { def void process(Exchange exchange) { println("Hello World! from Shell script") } }) } }) camelContext.start() Thread.sleep(10000); camelContext.stop()
Attachments
Attachments
Issue Links
- depends upon
-
SM-2382 Web Script console Documentation
- Open