Skip to content

Commit c5afd85

Browse files
committed
Create spring-boot-activemq module
1 parent d12bf15 commit c5afd85

File tree

34 files changed

+171
-133
lines changed

34 files changed

+171
-133
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ settings.gradle.projectsLoaded {
3838
}
3939

4040
include "spring-boot-project:spring-boot"
41+
include "spring-boot-project:spring-boot-activemq"
4142
include "spring-boot-project:spring-boot-actuator"
4243
include "spring-boot-project:spring-boot-actuator-autoconfigure"
4344
include "spring-boot-project:spring-boot-all"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
plugins {
2+
id "java-library"
3+
id "org.springframework.boot.auto-configuration"
4+
id "org.springframework.boot.configuration-properties"
5+
id "org.springframework.boot.deployed"
6+
id "org.springframework.boot.optional-dependencies"
7+
}
8+
9+
description = "Spring Boot ActiveMQ"
10+
11+
dependencies {
12+
api(project(":spring-boot-project:spring-boot-jms"))
13+
api("org.apache.activemq:activemq-client")
14+
15+
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
16+
optional("jakarta.transaction:jakarta.transaction-api")
17+
optional("org.apache.activemq:activemq-broker")
18+
optional("org.messaginghub:pooled-jms") {
19+
exclude group: "org.apache.geronimo.specs", module: "geronimo-jms_2.0_spec"
20+
}
21+
22+
testImplementation(project(":spring-boot-project:spring-boot-test"))
23+
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
24+
testImplementation("org.assertj:assertj-core")
25+
testImplementation("org.awaitility:awaitility")
26+
testImplementation("org.junit.jupiter:junit-jupiter")
27+
testImplementation("org.mockito:mockito-core")
28+
testImplementation("org.mockito:mockito-junit-jupiter")
29+
30+
testRuntimeOnly("ch.qos.logback:logback-classic")
31+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import jakarta.jms.ConnectionFactory;
2020
import org.apache.activemq.ActiveMQConnectionFactory;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import org.springframework.boot.autoconfigure.service.connection.ConnectionDetails;
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import jakarta.jms.ConnectionFactory;
2020
import org.apache.activemq.ActiveMQConnectionFactory;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import java.util.Collections;
2020
import java.util.List;
2121

2222
import org.apache.activemq.ActiveMQConnectionFactory;
2323

24-
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQProperties.Packages;
24+
import org.springframework.boot.activemq.autoconfigure.ActiveMQProperties.Packages;
2525
import org.springframework.util.Assert;
2626

2727
/**
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import org.apache.activemq.ActiveMQConnectionFactory;
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import java.time.Duration;
2020
import java.util.ArrayList;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.jms.activemq;
17+
package org.springframework.boot.activemq.autoconfigure;
1818

1919
import jakarta.jms.ConnectionFactory;
2020
import jakarta.transaction.TransactionManager;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Auto-configuration for ActiveMQ.
1919
*/
20-
package org.springframework.boot.autoconfigure.jms.activemq;
20+
package org.springframework.boot.activemq.autoconfigure;

0 commit comments

Comments
 (0)