I want to run an asynchronous task in a JavaEE openliberty environment. Ideally the task has to run at startup, but I don’t want that it blocks the startup of the WAR module itself. Also, I don’t want that on failure it prevents the whole application from starting up. So I guess that the solution …
Tag: microprofile
Not a REST client interface: interface MyClient. No @Path annotation found on the class or any methods of …. [Quarkus]
I have a project that consumes an api and am struggling to get the Rest Client injected into my service. (to note, i am mainly doing what i did in another instance that works however I can’t pinpoint what’s wrong here to make this one fail) My Client interface: on my consuming side I have: however…
How to write async POST/GET in Java Microprofile correctly
I’m a C developer who needs to create a basic async REST server (synchronous version works fine) in Java using the Microprofile (Helidon MP) framework. Here is my strategy to do this: The client should do the POST call and provide JSON objects that the POST endpoint will receive. Then, the POST Endpoint…
“dev” config overrides “test” config in Quarkus
In my Quarkus application, I don’t want passwords to be versionned by Git. I don’t have any issue with the prod profile because I have a config file in $PWD/config/application.properties. Fine. For the dev profile, I’m using the .env approach which contains properties such as : I’m try…