Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
Unknown
Description
The Salesforce component uses the commons-lang3 utilities for working with Fields reflection.
Find a better way to create the Jackson Mapper for the consumer with PUSH_TOPIC, dealing with the NULL fields without using the org.apache.commons.lang3.reflect.FieldUtils in the FieldsToNullPropertyFilter.
This is the problematic line of code : https://github.com/apache/camel/blob/7406711360935a11ade7e0c90989832079e3b2d1/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/FieldsToNullPropertyFilter.java#L34