Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15070

Missing dependency in salesforce-source kamelet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • camel-K-M3
    • camel-K-M3
    • Camel-K
    • None

    Description

      I tried to create basic integration using https://github.com/openshift-integration/kamelet-catalog/blob/master/salesforce-source.kamelet.yaml

       

      I got the following exception

      [1] Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: wrap://salesforce:camelTestTopic?clientId=3MVG99qusVZJwhsmVwtsfEQDmRgc.czFxZScCBW.YXtNP6dkKvbIRS3etAopTC2kbpEnUyEhgFRsmEiqtmDeQ&clientSecret=xxxxxx&notifyForFields=ALL&notifyForOperationCreate=true&notifyForOperationDelete=false&notifyForOperationUndelete=false&notifyForOperationUpdate=false&password=xxxxxx&sObjectQuery=SELECT+Id%2C+Name+FROM+Account&updateTopic=true&userName=fuse.salesforce%40gmail.com due to: Unable to create an instance of the component with scheme: salesforce[1] Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: wrap://salesforce:camelTestTopic?clientId=3MVG99qusVZJwhsmVwtsfEQDmRgc.czFxZScCBW.YXtNP6dkKvbIRS3etAopTC2kbpEnUyEhgFRsmEiqtmDeQ&clientSecret=xxxxxx&notifyForFields=ALL&notifyForOperationCreate=true&notifyForOperationDelete=false&notifyForOperationUndelete=false&notifyForOperationUpdate=false&password=xxxxxx&sObjectQuery=SELECT+Id%2C+Name+FROM+Account&updateTopic=true&userName=fuse.salesforce%40gmail.com due to: Unable to create an instance of the component with scheme: salesforce[1]  at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:888)[1]  at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:777)[1]  at org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:58)[1]  at org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:177)[1]  at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:250)[1]  at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:112)[1]  ... 23 more[1] Caused by: java.lang.IllegalStateException: Unable to create an instance of the component with scheme: salesforce[1]  at org.apache.camel.component.wrap.Wrap.newComponentInstance(Wrap.java:40)[1]  at org.apache.camel.component.wrap.WrapComponent.createEndpoint(WrapComponent.java:62)[1]  at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:240)[1]  at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:853)[1]  ... 28 more 

      After the manual addition of the salesforce dependency to the Kamelet, the issue disappeared.

      It seems that Camel-K automatic dependency loading is broken with the `wrap` prefix.

      Attachments

        Activity

          People

            nicolaferraro Nicola Ferraro (Inactive)
            jbouska@redhat.com Jan Bouska
            Lucie Krejcirova Lucie Krejcirova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: