Questions tagged [quarkus-reactive]

132 questions
1
vote
1 answer

How is Quarkus Reactive supposed to work with Panache for Kotlin?

I'm trying out Quarkus Reactive + Kotlin, and I seem to have som issues figuring out how the data access part is supposed to work in this case. Quarkus offers: quarkus-hibernate-orm-panache-kotlin OR quarkus-hibernate-reactive-panache There is no…
1
vote
1 answer

can't inject the values in the class from configuration created in gradle.properties

the question is i want to use "Mapping Configuration to objects" in quarkus i have a gradle.properties so i want to declare this array of objects in the .properties file myApplicationConfig.enabled = true and i want to fetch and use this value we…
neored
  • 13
  • 4
1
vote
1 answer

Combine multiple resultsets into one object with hibernate reactive and mutiny

I have a database representing the accesslog of my webserver with columns such as ip-address, method, requested path, etc. I want to create an endpoint which returns a json similar to this: { "addresses": [ { "address":…
1
vote
0 answers

How to call a stored procedure with hibernate reactive?

I'm looking for a way to call a stored procedure with an output parameter using hibernate's reactive api (ReactiveConnectionSupplier). For example: create procedure uspSum ( @param1 int, @param2 int, @result int output ) as begin …
1
vote
0 answers

How to auto open after Quarkus mvn clean compile quarkus:dev

Is there any possible configuration to auto open browser with the mentioned address and port after quarkus successfully compiles and is ready to serve.
Aditya Raj
  • 11
  • 1
1
vote
2 answers

Restassured Testing Reactive Quarkus blocking in IO thread

I have a quarkus application that I am trying to test using Restassured I am however getting this error when testing: [org.jbo.res.rea.ser.cor.RuntimeExceptionMapper] (vert.x-eventloop-thread-1) A blocking operation occurred on the IO thread. This…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
1
vote
1 answer

Apply complex business logic to Multi object and return a Uni object in Rest API

Inside a rest function I'm making a reactive Postgres Db call which is returning a Multi. My intention is to run a complex business logic on Multi and return a new Uni. @GET public Uni get() { Multi objects =…
1
vote
0 answers

Errors after switching to quarkus-resteasy-reactive

I'm using Quarkus 2.8.2. So far I have been using the quarkus-resteasy dependencies in my project. The release notes for 2.8 tell me I should switch to quarkus-resteasy-reactive and it's a 1:1 replacment and no changes are necessary. However, after…
sithmein
  • 437
  • 3
  • 11
1
vote
2 answers

Quarkus static content response filter

Is there a way to add a filter/interceptor to static resources served from META-INF/resources? I seem have tried all the possible options: @ServerResponseFilter, ContainerResponseFilter,WriterInterceptor however all these functions are called only…
Sam Ivichuk
  • 999
  • 1
  • 10
  • 22
1
vote
0 answers

How to instruct the QuarkusApplication to wait until the reactive vertx MySQLPool completes the execution of executeBatchAndForget statement?

We have a requirement to load a huge file to MySQL DB. I have written a simple QuarkusApplication with quarkus-reactive-mysql-client to execute a executeBatchAndForget to batch import the records into the DB. I see the below error, which suggests…
user1637487
  • 241
  • 1
  • 9
  • 17
0
votes
2 answers

How to customize Unauthorized response in Quarkus?

Because we use a custom format of error we want to customize all error responses ... in particular Forbidden (we succeed) and Unauthorized (we failed). I read many docs, posts and I tried different solutions you can find in my sample project First:…
Patrice Conil
  • 83
  • 1
  • 8
0
votes
0 answers

Threading model when using camel with Quarkus smallrye reactive messaging

In Camel documentation I read that Camel might use it own thread pool in some scenarios like mention here: https://camel.apache.org/manual/threading-model.html I want to use the camel connector with quarkus reactive messaging but I'm not sure about…
0
votes
0 answers

Caused by: java.lang.NoSuchFieldError: SECURITY_JPA_REACTIVE | Quarkus

I have built an Item API that performs CRUD function, generates an otp token now I want to hash password using BcryptUtil.bcryptHash(password) but when I add the quarkus-security-jpa-reactive dependency
0
votes
1 answer

Hibernate Reactive in Quarkus 3.2.4 give me "java.lang.ClassCastException: " in Geometry ORM mapping

I use Quarkus 3.2.4 hibernate reactive panache to define a Entity like this: import io.quarkus.hibernate.reactive.panache.PanacheEntityBase; import jakarta.persistence.*; import org.locationtech.jts.geom.Point; @Entity @Table(name =…
0
votes
0 answers

Quarkus REST Integer query parameter with blank value throws Exception

I have a REST API Controller built using Quarkus RestEasyReactive @Path("/hello") public class HelloController { @GET @Produces({"application/json"}) public RestResponse greet(@Min(0) @RestQuery int value) { return new…
Prafull
  • 73
  • 4
1 2
3
8 9