-
Notifications
You must be signed in to change notification settings - Fork 345
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
Cannot find RestProducerFactory in Registry or as a Component to use" #3290
Comments
Rest consumer works though :) |
you can add camel-http as explicit dependency Something along the line of in the CLI args
See more at |
And there is also a |
@davsclaus thx :) -d camel-http reports
Looks like the args parsing has changed but this is not a big problem. but -d camel:camel-http hit me in the head with just randomly testing the dependencies and found that |
Oh yeah I thought first it was
notice that its using colon |
yeah -d camel:http works :) |
Ticket to update docs: #3291 |
I'm trying to use Rest component like this file:
hello-rest.groovy
When I run the integration in either local mode or with run --dev, it fails with
The full log:
error.txt
Not sure I'm using the syntax the correct way because I'm still learning Camel.
Also tried to add external dependencies like
kamel local run --dependency camel-quarkus:camel-quarkus-rest
with no effect.I've read https://camel.apache.org/camel-quarkus/2.9.x/reference/extensions/rest.html and https://camel.apache.org/components/3.16.x/rest-component.html#_component_options and tried to add configuration with
restConfiguration().host('localhost:8080').component('http');
and it also didn't work :(System info:
The text was updated successfully, but these errors were encountered: