In the JMS world you can easily define the degree of concurrency by tuning the maxSession property in message-driven beans (MDB). Now Quarkus obviously doesn't have MDBs but how do you achieve the same level of concurrency tuning?
I had a look at the guide (Quarkus - Using JMS) but all the consumer does in the example is picking up messages using an infinite loop. I think that's a really bad example. I understand the syntax but the way it consumes messages looks like a busy waiting to me.
So I thought maybe I was missing the point and reactive messaging was the way to go in order to handle more messages more efficiently. I had a look at the guide Quarkus - Using AMPQ with Reactive messaging however once again it doesn't say anything about concurrency of consumers. In this last example the Price Generator bean is an application-scoped bean consuming messages from an Artemis broker using reactive messaging annotations, that's cool but what about concurrency?
If I want an incoming-channel (or a JMS queue) to be consumed faster than others then how do I achieve that on Quarkus? Can you share an example please?