[ https://issues.apache.org/jira/browse/CAMEL-20107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Netherton resolved CAMEL-20107. ------------------------------------- Resolution: Fixed > camel-salesforce: PubSubApiConsumer may fail to load pojo class > --------------------------------------------------------------- > > Key: CAMEL-20107 > URL: https://issues.apache.org/jira/browse/CAMEL-20107 > Project: Camel > Issue Type: Improvement > Components: camel-salesforce > Affects Versions: 4.0.2, 4.1.0, 4.2.0 > Reporter: James Netherton > Assignee: James Netherton > Priority: Minor > Fix For: 4.0.4, 4.3.0 > > > When using Salesforce Pub / Sub with pubSubDeserializeType POJO, it's > possible that the POJO class will not get loaded correctly on some platforms. > [https://github.com/apache/camel/blob/main/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/PubSubApiConsumer.java#L65] > It'd be better if the class loading logic used the Camel {{ClassResolver}} or > {{ObjectHelper.loadClass}} so that the class is attempted to be loaded from > the correct set of ClassLoaders. -- This message was sent by Atlassian Jira (v8.20.10#820010)