4,910 questions
Advice
0
votes
0
replies
42
views
Quarkus Transaction With Kafka, Mongo and Redis
I am trying to bring together transactional approach in operations that is happening on different external resources. Starting processing in a kafka consumer, I need to run CRUD operations on mongodb ...
Best practices
0
votes
2
replies
68
views
Quarkus native compilation requires explicit declaration of Classes to be registered for Reflection
I'm using Quarkus enabling native compilation. At runtime I noticed some exceptions that required me to register classes for reflection e.g:
@RegisterForReflection(
targets = { MyClass.class, ...
0
votes
0
answers
101
views
How to notify ViewScoped bean from SessionScoped bean with no active request/view context
I have a Quarkus + Camel + JSF app/service which receives messages from AMQ Artemis. The receiving bean is ApplicationScopped and it also re-sends certain events to specific SessionBean(s).
I have ...
0
votes
0
answers
60
views
How to use Request/Reply Pattern using Smallrye with MQ in Java
I’m trying to implement an RPC-style Request/Reply pattern using SmallRye Reactive Messaging with IBM MQ in a Quarkus application.
I already know how to implement this pattern using plain JMS:
...
0
votes
0
answers
55
views
How to build two distinct Quarkus runner JARs in a single Maven build (one for crypto-soft, one for crypto-hsm)
I'm using Quarkus in a multi-module Maven project. I need to produce two separate Quarkus runner JARs in a single reactor build:
quarkus-service-soft-runner.jar
Uber-jar (Quarkus runner)
Includes only ...
1
vote
0
answers
55
views
quarkus build fails with 401 Unauthorized at registry-1.docker.io despite successful docker login
I can docker push a local image to dockerhub just fine, but quarkus build fails with:
...
Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/...
0
votes
0
answers
45
views
Losing MDC in Quarkus ManagedExecutor
I'm starting an async-process through a REST request. As soon as the REST requests returns, I'm losing the MDC context inside my async execution code. I tried to "copy" it over with ...
1
vote
1
answer
53
views
Langchain4j and Quarkus AI Services - Not using annotated @Tool to call remote GraphQL API
I have a question about Quarkus Langchain4j.
I have made this Quarkus (Java 25) project with the purpose of exposing an API that receives a search text, processes it with an "extractor” AI ...
1
vote
1
answer
83
views
How to handle multiple implementations of the same REST Interface?
I'm migrating a JBoss EAP application to Quarkus. My application has multiple implementations of the same REST service interface for failover/fallback scenarios:
ManagerClientImpl - Primary HTTP ...
0
votes
0
answers
59
views
Authentication for graphql subscriptions does not work with @Authenticated
I am using Quarkus 3.27.0 and trying to secure GraphQL subscriptions with the @Authenticated annotation. I pass the Authorization header with a valid token when connecting, but the subscription ...
0
votes
1
answer
33
views
When I load all NodeEntity entities with depth = 2 and store one without depth an inconsistency appears. What have I misunderstood?
I defined these simple models
@NodeEntity(label = "Api")
class Api {
@Id
@Property(name = "name")
var name: String = "name"
@Suppress("unused")
...
0
votes
1
answer
50
views
Filter for Quarkus WebSocket Next to pass JWT from query param to header
In Quarkus, how do I modify HTTP headers to add "Authorization" from query parameter "jwt"? My WebSocket client is browser-based, so I can't set the header in the client.
I tried ...
1
vote
1
answer
63
views
How to use identity attribute of io.quarkus.scheduler.Scheduled in log messages
I have a Java Quarkus application which is using JBoss for logging.
I am using a scheduled job via io.quarkus.scheduler.Scheduled like so:
private static final Logger LOGGER = Logger.getLogger(...
Best practices
0
votes
1
replies
48
views
Deployed native Quarkus application self-update - best approach?
I have a quarkus cli application I compile native. Now I want to implement a self-update feature. That is, the cli application should be capable of updating itself with the newest compiled version. ...
0
votes
2
answers
120
views
Write logs to database in quarkus application
How can I write my log messages to database in my quarkus application?
I tried to create a ExtHandler like this:
package org.myorg;
import io.agroal.api.AgroalDataSource;
import jakarta.enterprise....