EmbeddedActiveMQ is the class you want to use for embedding ActiveMQ Artemis. The BrokerService is a class from ActiveMQ "Classic". It is used in the ActiveMQ Artemis code-base only for testing purposes. You won't use it at all when migrating.
For additional help you'll have to ask more specific questions. Justin On Thu, Jan 5, 2023 at 4:45 PM Michael Brennock <mbrenn...@gmail.com> wrote: > Good afternoon, > I've been tasked to migrate an existing application's message broker from > ActiveMQ to Artemis. I was wondering if I could get some help > troubleshooting my solution? > > We had some initial success replacing our embedded activeMQ broker with a > standalone broker that runs outside the application and still uses the > original message queues defined in activeMQ. I tried to follow the > information in this guide for creating either an EmbeddedActiveMQ or a > BrokerService. Something about the intended design path is unclear to me, > even after reading the manual (1) and scouring the code from the github > page for answers (2) > > Can anyone offer advice on how to migrate from embedded ActiveMQ to > embedded Artemis? I feel like I missed something important in the migration > documentation > > (1) > > https://activemq.apache.org/components/artemis/documentation/latest/embedding-activemq.html > > > (2) https://github.com/apache/activemq-artemis/search?q=brokerService >