Re: Dynamic To with InOnly Exchange Pattern in Java DSL

2024-09-19 Thread ski n
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

Re: Dynamic To with InOnly Exchange Pattern in Java DSL

2024-09-19 Thread Claus Ibsen
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