Registry / messaging / spring-boot-starter-activemq

spring-boot-starter-activemq

JSON →
library4.0.6javamavenunverified

Starter for using Apache ActiveMQ and JMS with Spring Boot.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-activemq
messagingjavav4.0.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.

JmsTemplate
org.springframework.jms.core.JmsTemplate

Send a JMS message using JmsTemplate.

import org.springframework.jms.core.JmsTemplate; import org.springframework.context.annotation.AnnotationConfigApplicationContext; public class Example { public static void main(String[] args) { AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(); ctx.register(MyConfig.class); ctx.refresh(); JmsTemplate jmsTemplate = ctx.getBean(JmsTemplate.class); jmsTemplate.convertAndSend("myQueue", "Hello"); System.out.println("Message sent"); } }
Debug
Known issues
gotchaActiveMQ Classic may have performance issues under high load; consider ActiveMQ Artemis for better scalability.
fix
Switch to spring-boot-starter-artemis for improved performance.
affects: all
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
spring-boot-starter-activemq — mvn dependency:get spring-boot-starter-activemq · libregistry