You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/01/15 08:28:56 UTC

(camel) 02/02: CAMEL-20303 - Camel-Sql: Add ObjectInputFilter String pattern parameter in JdbcAggregationRepository to be used in unmarshall operations - Added docs (#12717)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-20303-3.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 208f68f18d028420144f0f41d54109770b4ffce0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 9 12:17:49 2024 +0100

    CAMEL-20303 - Camel-Sql: Add ObjectInputFilter String pattern parameter in JdbcAggregationRepository to be used in unmarshall operations - Added docs (#12717)
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 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