Re: Anyone using SmallRye Reactive Messaging with TomEE?

Skander <[email protected]> Fri, 12 Dec 2025 12:39:23 +0000
Newsgroups gmane.comp.java.openejb.user
Message-ID <fSHU0jI8SVOldNwa5Rhqrq-5-6e733k-heABkEHp74wMu5hFOvPJzml-xZO3ySwsG2iUVTVLtB8vJlaejQiROf6W4zQdrNnZ59w4-X24ARM=@protonmail.com>
Thank you for your feedback Jonathan. That's reassuring.


On Tuesday, December 9th, 2025 at 5:39 PM, Jonathan S. Fisher <exabrial@gma=
il.com> wrote:

> I've run Netty inside TomEE in the past without problems. As much as
> possible, try to let TomEE manage thread pools seems to be a good practic=
e.
>=20
> On Tue, Dec 9, 2025 at 10:08=E2=80=AFAM Skander skander.soltane@protonmai=
l.com
>=20
> wrote:
>=20
> > Hi everyone,
> >=20
> > I'm considering integrating SmallRye Reactive Messaging 4.31.0 (with
> > either JMS or Kafka connectors) into a TomEE-based application and woul=
d
> > like to hear from anyone who has already tried this.
> > Has anyone successfully deployed SmallRye Reactive Messaging on TomEE i=
n
> > production? Did you encounter any issues or notice regressions with oth=
er
> > TomEE features?
> >=20
> > I'm particularly concerned about the dependencies this brings in - main=
ly
> > the Vert.x, Mutiny, and Netty stack:
> >=20
> > - vertx-core: 4.5.21
> > - smallrye-mutiny-vertx-core: 3.19.1
> > - mutiny: 2.9.3
> > - netty-*: 4.1.125.Final (10+ netty modules)
> >=20
> > Plus the connector-specific JARs (kafka-clients 4.1.0 for Kafka, or the
> > JMS connector).
> >=20
> > Before OpenLiberty integrated Vert.x, they documented some concerns abo=
ut
> > threading and resource management conflicts between Vert.x's event-loop
> > model and servlet container threading [1] [2].
> > I'm wondering if anyone has run into similar issues in TomEE - threadin=
g
> > conflicts, classloader problems with Netty/Vert.x, performance impacts,=
 or
> > anything else unexpected?
> >=20
> > Any feedback from real-world deployments would be really helpful.
> >=20
> > Thanks!
> >=20
> > Skander
> >=20
> > [1] https://github.com/OpenLiberty/open-liberty/issues/8962[2]
> > https://github.com/OpenLiberty/open-liberty/issues/12472
>=20
>=20
>=20
>=20
> --
> Jonathan | [email protected]
> Pessimists, see a jar as half empty. Optimists, in contrast, see it as ha=
lf
> full.
> Engineers, of course, understand the glass is twice as big as it needs to
> be.