Hi Can you post the camel route that you use as we cannot reproduce what you are saying.
On Fri, Nov 14, 2025 at 10:59 AM Veijo Länsikunnas <[email protected]> wrote: > Hello, > > Camel version is 4.14.1. > > I also tried with 4.14.2 and 4.16.0 with the same result. > > -- > Veijo Länsikunnas > > > -- > Veijo Länsikunnas | He/Him > Senior Integration Architect, Forestry > ________________________________ > > Hatsinanpuisto 8, 02600 Espoo > Finland > > [email protected] > forestry.trimble.com > > > This email may contain confidential information that is intended only > for the listed recipient(s) of this email. Any unauthorized review, > use, disclosure or distribution is prohibited. If you believe you have > received this email in error, please immediately delete this email and > any attachments, and inform me via reply email. > > > > pe 14.11.2025 klo 11.20 Claus Ibsen ([email protected]) kirjoitti: > > > > 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 > -- Claus Ibsen
