Registry / messaging / activemq-run

activemq-run

JSON →
library6.2.6javamavenunverified

Provides an executable JAR to start a standalone Apache ActiveMQ message broker.

<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-run</artifactId> <version>6.2.6</version> </dependency>
INSTALL
IMPORT
SIG · ACTIVEMQ-RUN
A
activemq-run
messagingjavav6.2.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BrokerService
org.apache.activemq.broker.BrokerService

Starts an embedded ActiveMQ broker.

import org.apache.activemq.broker.BrokerService; public class Example { public static void main(String[] args) throws Exception { BrokerService broker = new BrokerService(); broker.addConnector("tcp://localhost:61616"); broker.start(); System.out.println("Broker started"); } }
Debug
Known issues
breakingActiveMQ 6.x uses Jakarta namespace; code written for 5.x with javax.jms will not compile.
fix
Replace javax.jms imports with jakarta.jms.
affects: >=6.0.0
Upgrade
Version history
6.2.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
49 hits · last 30 days
node
42
OpenAI (training)
1
Resources
activemq-run — mvn dependency:get activemq-run · libregistry