Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchEndpointException while using TOD uri in kamelets/salesforce-update-sink.kamelet.yaml #1590

Closed
Ziauddin135 opened this issue Aug 23, 2023 · 2 comments · Fixed by #2076

Comments

@Ziauddin135
Copy link
Contributor

Ziauddin135 commented Aug 23, 2023

we are using kamelets/salesforce-update-sink.kamelet.yaml in openshift and getting this error while calling the salesforce endpoint using TOD uri in kamelets/salesforce-update-sink.kamelet.yaml to update salesforce sObject

org.apache.camel.NoSuchEndpointException: No endpoint could be found for: local-salesforce-2://updateSObject?rawPayload=true&sObjectId=aH17A00000006GZSAY&sObjectName=KameletSink__c, please check your classpath contains the needed Camel component jar

We are running the attached following kafka-sf-binding.yaml in openshift
Kafka-sf-binding.txt

and using kamelets/salesforce-update-sink.kamelet.yaml to update sObject in salesforce
while publishing the following JSON in Kafka :-

{
"payload": {
"ExtId__c": "1234567890",
"Name__c": "search",
"City__c": "Bhopal"
},
"sObjectId": "s7876768ZSAY",
"sObjectName": "KameletSink__c"
}

getting this complete exception log
kafka-source-updat-sink-binding-7d5f6575f6-vj2kh-integration (1).log

@Ziauddin135
Copy link
Contributor Author

Ziauddin135 commented Aug 23, 2023

On further investigation of logs, i saw TOD is appending the "-2" suffix to the bean name reference making it localhost-salesforce-2 in uri whereas bean name in the YAML is localhost-salesforce

please help to resolve this issue

@Ziauddin135
Copy link
Contributor Author

This issue does not props up when deplot kamelet as CKC. this issue is observed only in Red hat openshift dedicated sandbox. closing this issue

claudio4j added a commit to claudio4j/camel-kamelets that referenced this issue Jun 14, 2024
Fix apache#1590

At runtime the bean is renamed which seems to cause the
NoSuchEndpointException: No endpoint could be found for: local-salesforce-1
claudio4j added a commit that referenced this issue Jun 14, 2024
Fix #1590

At runtime the bean is renamed which seems to cause the
NoSuchEndpointException: No endpoint could be found for: local-salesforce-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant