This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.21.x by this push:
new 19ac8f25761 CAMEL-20303 - Camel-Sql: Add ObjectInputFilter String
pattern parameter in JdbcAggregationRepository to be used in unmarshall
operations - Added docs (#12719)
19ac8f25761 is described below
commit 19ac8f25761c350d0e64c991a28479b54ff318b2
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Jan 9 12:28:23 2024 +0100
CAMEL-20303 - Camel-Sql: Add ObjectInputFilter String pattern parameter in
JdbcAggregationRepository to be used in unmarshall operations - Added docs
(#12719)
Signed-off-by: Andrea Cosentino <[email protected]>
---
components/camel-sql/src/main/docs/sql-component.adoc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/components/camel-sql/src/main/docs/sql-component.adoc
b/components/camel-sql/src/main/docs/sql-component.adoc
index 9f045a0c911..4aa3a16655c 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -594,6 +594,10 @@ the `currentThread` one. The benefit is to be able to load
classes
exposed by other bundles. This allows the exchange body and headers to
have custom types object references.
+While deserializing it's important to notice that the decode function and the
unmarshallExchange method will allow only all java packages and subpackages
+and org.apache.camel packages and subpackages. The remaining classes will be
blacklisted. So you'll need to change the filter in case of need.
+This could be accomplished by changing the deserializationFilter field on the
repository.
+
=== Transaction
A Spring `PlatformTransactionManager` is required to orchestrate