I would like to set the ExchangePattern dynamically with a routetemplate like this:
This is currently not possible as template parameters expect only Strings. I tried to work around it. For example:
But they don't work because the parameter are interpolated too late in the process. For now, I set a property and use processor to set the ExchangePattern.