This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-4.0.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.0.x by this push: new 30ef0af219f CAMEL-20303 - Camel-Sql: Add ObjectInputFilter String pattern parameter in JdbcAggregationRepository to be used in unmarshall operations - Added docs (#12717) 30ef0af219f is described below commit 30ef0af219f31e2a57926a0ccc1fe250af825d41 Author: Andrea Cosentino <anco...@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 <anco...@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 9e45f3c5ada..fff24f09f4a 100644 --- a/components/camel-sql/src/main/docs/sql-component.adoc +++ b/components/camel-sql/src/main/docs/sql-component.adoc @@ -588,6 +588,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