Versions Compared

Key

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

...

A dynamic URI is an endpoint URI that varies depending on inflight routing information, such as Exchange properties, message headers, the body, the Camel Context, etc.

Info
titleDynamic To - out of the box

From Camel 2.16 onwards there is a new <toD> which is a dynamic to. See more details at Message Endpoint.

 

For example, if you're using a Freemarker producer and the template location is provided inside the current message, you might expect the following code to work, but it will not.

...