syndesisio / syndesis-integration-runtime

Apache License 2.0
1 stars 6 forks source link

Route fails due to missing/unknown connector #17

Closed gashcrumb closed 6 years ago

gashcrumb commented 6 years ago

Hope this is the right repo, created a twitter search to salesforce integration, however the resulting app doesn't seem to be able to find the component for twitter:

org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route flow1: Route(flow1)[[From[twitter-search--KvYqLMKvNnN50qL0k6b:parsn... because of Failed to resolve endpoint: twitter-search--KvYqLMKvNnN50qL0k6b://parsnip?delay=600000&filterOld=true due to: No component found with scheme: twitter-search--KvYqLMKvNnN50qL0k6b

Is the connector ID supposed to be appended like that?

zregvart commented 6 years ago

Yes, currently until we fix syndesisio/syndesis-rest#630 and syndesisio/syndesis-rest#660, and I think the issue here is that the connector should be named twitter-search-connector not twitter-search, we had to rename some of the connectors (we added -connector) to prevent name clash with connectors shipped with Camel.

Funny we have a test that checks that the deployment.json is in sync with connector JSON descriptors in order to prevent issues like this, but it didn't fail.

zregvart commented 6 years ago

Not funny at all, it the test succeeded exactly because of the name clash :)

zregvart commented 6 years ago

This should be fixed with syndesisio/syndesis-rest#671