Hi

What Camel version, and have you tried with latest version?

On Fri, Nov 14, 2025 at 10:08 AM Veijo Länsikunnas
<[email protected]> wrote:

> 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
>


-- 
Claus Ibsen

Reply via email to