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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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].
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.