You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zineb Bendhiba (Jira)" <ji...@apache.org> on 2021/08/10 14:21:00 UTC

[jira] [Created] (CAMEL-16860) Salesforce : Reflection free

Zineb Bendhiba created CAMEL-16860:
--------------------------------------

             Summary: Salesforce : Reflection free
                 Key: CAMEL-16860
                 URL: https://issues.apache.org/jira/browse/CAMEL-16860
             Project: Camel
          Issue Type: Bug
            Reporter: Zineb Bendhiba


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)