RESTEasy Reactive for quarkus camel #33575
-
hiii, i tried to make my quarkus camel become a reactive camel using RESTEasy Reactive. i added this dependency but when i try to use resteasy-reactive i keep getting error of url not found the quarkus version i use is 2.7.4.Final. from information i got, that it is should've been able to use resteasy-reactive did i miss something or what? thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
/cc @FroMage (resteasy-reactive), @Sgitario (resteasy-reactive), @geoand (resteasy-reactive), @stuartwdouglas (resteasy-reactive) |
Beta Was this translation helpful? Give feedback.
-
cc @quarkusio/camel |
Beta Was this translation helpful? Give feedback.
-
There is no You can find the list of supported Camel Quarkus extensions here: https://camel.apache.org/camel-quarkus/3.0.x/reference/index.html |
Beta Was this translation helpful? Give feedback.
-
Maybe, you can use from("direct:foo").process(
exchange -> {
var toto = exchange.getIn().getBody(Foo.class);
exchange.getIn().setBody(new Bar());
}); and then: @Inject CamelContext camel;
@POST
public Uni<Bar> foo(Foo foo) {
var cs = camel.createProducerTemplate().asyncRequestBody("direct:foo", foo);
return Uni.createFrom().completionStage(cs);
} |
Beta Was this translation helpful? Give feedback.
There is no
resteasy-reactive
component extension for Camel. So you'll need to use one of the supported HTTP producers likenetty-http
,vertx-http
orhttp
.You can find the list of supported Camel Quarkus extensions here:
https://camel.apache.org/camel-quarkus/3.0.x/reference/index.html