Skip to content

Commit 1387326

Browse files
committed
Updated Artemis to 2.53.0
1 parent 6ea2606 commit 1387326

6 files changed

Lines changed: 24 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Updated to Camunda 7.24.6-ee
1414
- Updated to Spring 7
1515
- Updated to Apache Tomcat 11
16+
- Updated to Artemis 2.53.0
1617
### Deprecated
1718
### Removed
1819
### Fixed

cws-adaptation-engine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</dependency>
103103

104104
<dependency>
105-
<groupId>org.apache.activemq</groupId>
105+
<groupId>org.apache.artemis</groupId>
106106
<artifactId>artemis-jakarta-client</artifactId>
107107
<exclusions>
108108
<exclusion>

cws-engine-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
</dependency>
195195

196196
<dependency>
197-
<groupId>org.apache.activemq</groupId>
197+
<groupId>org.apache.artemis</groupId>
198198
<artifactId>artemis-jakarta-client</artifactId>
199199
<exclusions>
200200
<exclusion>

cws-service/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959
</dependency>
6060

6161
<dependency>
62-
<groupId>org.apache.activemq</groupId>
62+
<groupId>org.apache.artemis</groupId>
6363
<artifactId>artemis-core-client</artifactId>
6464
</dependency>
6565
<dependency>
66-
<groupId>org.apache.activemq</groupId>
66+
<groupId>org.apache.artemis</groupId>
6767
<artifactId>artemis-server</artifactId>
6868
</dependency>
6969

@@ -232,7 +232,7 @@
232232
</dependency>
233233

234234
<dependency>
235-
<groupId>org.apache.activemq</groupId>
235+
<groupId>org.apache.artemis</groupId>
236236
<artifactId>artemis-jakarta-client</artifactId>
237237
<exclusions>
238238
<exclusion>
@@ -242,7 +242,7 @@
242242
</exclusions>
243243
</dependency>
244244
<dependency>
245-
<groupId>org.apache.activemq</groupId>
245+
<groupId>org.apache.artemis</groupId>
246246
<artifactId>artemis-jakarta-server</artifactId>
247247
<exclusions>
248248
<exclusion>

cws-service/src/main/java/jpl/cws/scheduler/SchedulerQueueUtils.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import javax.management.remote.JMXConnectorFactory;
1313
import javax.management.remote.JMXServiceURL;
1414

15+
import org.apache.activemq.artemis.api.core.QueueConfiguration;
16+
import org.apache.activemq.artemis.api.core.RoutingType;
1517
import org.apache.activemq.artemis.api.core.management.ActiveMQServerControl;
1618
import org.apache.activemq.artemis.api.core.management.QueueControl;
1719
import org.apache.activemq.artemis.api.core.management.ResourceNames;
@@ -118,7 +120,12 @@ public void addQueue(String queueName) throws Exception {
118120
log.debug("CREATING SCHEDULER QUEUE '"+queueName+"' ...");
119121

120122
ActiveMQServerControl serverControl = getActiveMQServerControl();
121-
serverControl.createQueue(queueName, queueName, true, "ANYCAST");
123+
serverControl.createQueue(
124+
QueueConfiguration.of(queueName)
125+
.setRoutingType(RoutingType.ANYCAST)
126+
.setDurable(true)
127+
.toJSON()
128+
);
122129
}
123130

124131

pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</scm>
2121

2222
<properties>
23-
<activemq.version>2.42.0</activemq.version>
23+
<artemis.version>2.53.0</artemis.version>
2424
<assertj.version>3.27.7</assertj.version>
2525
<bootstrap.version>5.3.8</bootstrap.version>
2626
<graalvm.js.version>21.3.17</graalvm.js.version>
@@ -140,14 +140,14 @@
140140
<version>${tomcat-catalina.version}</version>
141141
</dependency>
142142
<dependency>
143-
<groupId>org.apache.activemq</groupId>
143+
<groupId>org.apache.artemis</groupId>
144144
<artifactId>artemis-core-client</artifactId>
145-
<version>${activemq.version}</version>
145+
<version>${artemis.version}</version>
146146
</dependency>
147147
<dependency>
148-
<groupId>org.apache.activemq</groupId>
148+
<groupId>org.apache.artemis</groupId>
149149
<artifactId>artemis-server</artifactId>
150-
<version>${activemq.version}</version>
150+
<version>${artemis.version}</version>
151151
</dependency>
152152

153153
<dependency>
@@ -400,14 +400,14 @@
400400
</dependency>
401401

402402
<dependency>
403-
<groupId>org.apache.activemq</groupId>
403+
<groupId>org.apache.artemis</groupId>
404404
<artifactId>artemis-jakarta-client</artifactId>
405-
<version>${activemq.version}</version>
405+
<version>${artemis.version}</version>
406406
</dependency>
407407
<dependency>
408-
<groupId>org.apache.activemq</groupId>
408+
<groupId>org.apache.artemis</groupId>
409409
<artifactId>artemis-jakarta-server</artifactId>
410-
<version>${activemq.version}</version>
410+
<version>${artemis.version}</version>
411411
<exclusions>
412412
<exclusion>
413413
<groupId>commons-logging</groupId>

0 commit comments

Comments
 (0)