This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Using PropertyPlaceholder

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// 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}");

You can also your property placeholders when using ProducerTemplate for example:

Code Block

template.sendBody("#{cool.start}", "Hello World");

Example with Simple language

...