Like Claus mentioned, it's always possible to set the exchangePattern into
a separate step. A route would look something like this:
from("direct:start")
.setExchangePattern(ExchangePattern.InOnly)
.toD("log:${header.destination}");
Raymond
On Thu, Sep 19, 2024 at
Hi
You can use setExchangePattern before the toD
On Thu, Sep 19, 2024 at 3:11 PM wrote:
> Hi,
>
> is there a way to use dynamic to with InOnly Exchange Pattern from the
> Java DSL?
>
> https://camel.apache.org/components/4.8.x/eips/toD-eip.html#_options
> mentions a pattern option, but I cannot