Hi,

I am on camel 2.17.6 ( via Talend ESB tool)

I am using camel-salesforce component to call getSObjectId method.
Generated a DTO lib using maven plugin. I am running it in Karaf OSGI
environment.

Karaf has camel-salesforce feature is installed.
camel-core is also an installed feature.
Camel route bundle has the DTO in the class path.

upsertSObject operation works with no problem. but getSobjectwithId method
fails with below error.

Exception Details:
org.apache.camel.component.salesforce.api.SalesforceException: Error
processing getSObjectWithId: [0] "No class found for SObject
Cvent_Event__c" at
org.apache.camel.component.salesforce.internal.processor.AbstractRestProcessor.process(AbstractRestProcessor.java:156)
[444:ea_cvent_salesforce_integrations.TrainingDataSync_SQStoSFDC:0.6.4] at
org.apache.camel.component.salesforce.SalesforceProducer.process(SalesforceProducer.java:100)
....



I see the log message "[INFO ]:
org.apache.camel.component.salesforce.SalesforceComponent - Found
0 generated classes in packages: [org.apache.camel.salesforce.dto]"


I tried adding the package name to the export package list in manifest file
for the route bundle. still not working. Please suggest how to get the
package/classes loaded.


Thanks,

sowjanya.

Reply via email to