Hi

No problem, good you find the actual issue.

On Mon, Nov 17, 2025 at 2:24 PM Veijo Länsikunnas
<[email protected]> wrote:

> Hello,
>
> Oh well. Nothing to post, because the issue was found to be elsewhere.
> The route (or actually routes) are quite complex and depending on
> other conditions and states the removed header was newly assigned in
> one part. My test cases just did not verify that possibility at all
> and adding the extra statement was not relevant at all.
>
> Sorry for wasting your time on this.
>
> --
> 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.
>
>
>
> ma 17.11.2025 klo 14.46 Claus Ibsen ([email protected]) kirjoitti:
> >
> > 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
>


-- 
Claus Ibsen

Reply via email to