Closed renatompf closed 7 months ago
I don't know Payara. Try adding the micrometer dependency.
I already tried that but the problem remained.
The log WELD-000119: Not generating any bean definitions from
should not be a problem. It is just an INFO log to say that the bean won't be produced.
I am guessing you are missing some other dependency but CDI doesn't help you much to debug. Maybe you are missing a Microprofile Config implementation can you try adding a io.smallrye.config:smallrye-config
dependency.
I'm building a small POC to understand how MicroPorfile Reactive Messaging works to have a clear view of the differences between this and Spring. I'm building my POC using Java17 and JakartaEE 10 that's running on Payara 6.
And when I start my application I have the following logs:
And this is my config file and code:
microprofile-config.properties
:My Producer:
My Consumer:
And the resource I'm using to send the messages:
My pom.xml: