Replacing embedded ActiveMQ with RabbitMQ connection in Wildfly config

36 views
Skip to first unread message

Mart Vrijsen

unread,
Sep 18, 2025, 8:46:24 AM (10 days ago) Sep 18
to WildFly
Hi,

I have a question with regards to JMS configuration in the Wildfly instance we're running. Currently we're running our application on Wildfly 36.0.1 and across the project we use several message driven beans. The application currently runs single tenant and for the migration towards a multi tenancy we need to implement an alternative for the embedded activemq since the jms file persistency for embedded installation won't work, and using a (master) database is not something we want. Within the organization there is already a running RabbitMQ cluster available so the easiest option is to migrate our queues to RabbitMQ.

Now I've read multiple blogs/post in several places stating that RabbitMQ does not work icw MDB's but most of what I read is quite old. Does anyone know if there is a way to configure this from the standalone.xml?

Regards, Mart

Emmanuel Hugonnet

unread,
Sep 18, 2025, 12:02:50 PM (10 days ago) Sep 18
to Mart Vrijsen, WildFly
Hello,
Why not use a Artemis cluster instead ? I'm not an expert on Artemis cluster configuration but it is something that is working nicely with
WildFly, the embedded broker has always been defined as a developer first solution or for single tenants. For example [1] describe how this
is achieve, and we provide a simple quickstart for this too [2].

For RabbitMQ to work with WildFly and MDBs you would need a JCA Connector and set it up, just like you can do with WMQ, etc. But that is
relative to your connector.
This is not something I've experimented for that broker, but this should be doable maybe using the generic jms ra [3] like I did for QPid a
while ago [4].


Regards,
Emmanuel

[1]: https://docs.wildfly.org/wildfly-proposals/messaging/WFLY-10518_artemis_no_local_broker.html
[2] : https://github.com/wildfly/quickstart/tree/main/remote-helloworld-mdb
[3]: https://github.com/jms-ra/generic-jms-ra/
[4]: https://www.wildfly.org/news/2020/05/11/Plugging-Apache-Qpid-into-WildFly/
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/wildfly/58ddbafa-a97a-4648-b0ec-cf6b3197fd43n%40googlegroups.com
> <https://groups.google.com/d/msgid/wildfly/58ddbafa-a97a-4648-b0ec-cf6b3197fd43n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Mart Vrijsen

unread,
Sep 22, 2025, 7:52:18 AM (6 days ago) Sep 22
to WildFly
Hi Emmanuel,

Thanks for your response. The Artemis cluster is something I also thought of myself but when there's already a company manages RabbitMQ cluster available it seems like overkill to install and manage a custom Artemis instance ourselves. I'll try and use the setup you've described in 3/4 as a start. 

Regards, Mart

Reply all
Reply to author
Forward
0 new messages