Registry / messaging / activemq-client

activemq-client

JSON →
library6.2.6javamavenunverified

The ActiveMQ Client implementation for connecting to Apache ActiveMQ message brokers.

<dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-client</artifactId> <version>6.2.6</version> </dependency>
INSTALL
IMPORT
SIG · ACTIVEMQ-CLIENT
A
activemq-client
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.

ActiveMQConnectionFactory
org.apache.activemq.ActiveMQConnectionFactory

Creates a connection to an ActiveMQ broker.

import org.apache.activemq.ActiveMQConnectionFactory; import javax.jms.Connection; public class Main { public static void main(String[] args) throws Exception { ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("tcp://localhost:61616"); Connection connection = factory.createConnection(); connection.start(); System.out.println("Connected to ActiveMQ"); connection.close(); } }
Debug
Known issues
breakingActiveMQ 6.x uses Jakarta JMS API; ensure compatible JMS dependencies.
fix
Use jakarta.jms-api instead of javax.jms-api for ActiveMQ 6.x.
affects: >=6.0.0
Upgrade
Version history
6.2.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
40
OpenAI (training)
1
Resources
activemq-client — mvn dependency:get activemq-client · libregistry