// properties
cool.foo=result
// route
from("direct:start").to("mock:{{cool.foo}}");
// properties
cool.foo=result
// route
from("direct:start").to("mock:{{cool.foo}}");
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
// properties
cool.start=direct:start
cool.showid=true
cool.result=result
// route
from("{{cool.start}}")
.to("log:{{cool.start}}?showBodyType=false&showExchangeId={{cool.showid}}")
.to("mock:{{cool.result}}");
// properties
cool.start=direct:start
cool.showid=true
cool.result=result
// route
from("{{cool.start}}")
.to("log:{{cool.start}}?showBodyType=false&showExchangeId={{cool.showid}}")
.to("mock:{{cool.result}}");
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
template.sendBody("{{cool.start}}", "Hello World");
template.sendBody("{{cool.start}}", "Hello World");
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow