Hello,
I noticed that .filter() is not executing in the following route snippert
.filter(header("x-custom-header").isEqualTo("value"))
.removeHeader("x-another-header")
.end()
It works however when I add something else before ending the filter
.filter(header("x-custom-header").isEqualTo("value"))
.removeHeader("x-another-header")
.log(LoggingLevel.DEBUG, "Filtered")
.end()
Is this a known feature? The documentation has samples with a single
.to(), so I assume this should work with any EIP.
--
Veijo Länsikunnas