This is an automated email from the ASF dual-hosted git repository.
oscerd 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 08df8bdc7bba CAMEL-23528: document camel-neo4j property name
validation in the 4.14 upgrade guide (#23324)
08df8bdc7bba is described below
commit 08df8bdc7bbac6e60a04f960a8b911f4d9758255
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue May 19 13:45:52 2026 +0200
CAMEL-23528: document camel-neo4j property name validation in the 4.14
upgrade guide (#23324)
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_14.adoc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_14.adoc
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_14.adoc
index ec0784b06b8d..eed28e0a9adb 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_14.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_14.adoc
@@ -146,6 +146,16 @@ to work without changes. Routes that set the header by its
literal string value
(for example `setHeader("JGROUPSRAFT_SET_TIMEOUT", ...)`) must be updated to
use the new value (`setHeader("CamelJGroupsRaftSetTimeout", ...)`).
+=== camel-neo4j
+
+When using the `RETRIEVE_NODES` or `DELETE_NODE` operations with the
`CamelNeo4jMatchProperties`
+header, the property names provided in the JSON match map are now validated
before the `MATCH` /
+`DELETE` `WHERE` clause is built. Property names must be valid identifiers
matching
+`[A-Za-z_][A-Za-z0-9_]*`. A request whose match map contains a property name
that does not match
+this pattern now fails fast with an `IllegalArgumentException` (wrapped in a
+`Neo4jOperationException`) instead of producing a malformed query. Property
values continue to be
+passed as bound query parameters and are unaffected.
+
== Upgrading from 4.14.2 to 4.14.3
=== camel-tika