This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 65236b0a14d CAMEL-21902: camel-core: HeaderFilterStrategy should default be case insensitive. Remove Camel v1 style header 65236b0a14d is described below commit 65236b0a14d01cfe50c44c2c259c4b8188cb3ebf Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue May 6 07:14:41 2025 +0200 CAMEL-21902: camel-core: HeaderFilterStrategy should default be case insensitive. Remove Camel v1 style header --- .../java/org/apache/camel/component/mail/MailUsingHeadersTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailUsingHeadersTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailUsingHeadersTest.java index dde7142f466..ddeb8c779b8 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailUsingHeadersTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailUsingHeadersTest.java @@ -46,7 +46,7 @@ public class MailUsingHeadersTest extends CamelTestSupport { map.put("From", "jstrac...@apache.org"); map.put("Subject", "Camel rocks"); map.put("CamelFileName", "fileOne"); - map.put("org.apache.camel.test", "value"); + map.put("CamelTest", "value"); String body = "Hello Claus.\nYes it does.\n\nRegards James."; template.sendBodyAndHeaders(davsclaus.uriPrefix(Protocol.smtp), body, map); @@ -59,7 +59,7 @@ public class MailUsingHeadersTest extends CamelTestSupport { assertEquals("Camel rocks", msg.getSubject()); assertNull(msg.getHeader("CamelFileName"), "We should not get the message header here"); - assertNull(msg.getHeader("org.apache.camel.test"), "We should not get the message header here"); + assertNull(msg.getHeader("CAMELTest"), "We should not get the message header here"); } @Test