diff --git a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ArtemisCoreProcessor.java b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ArtemisCoreProcessor.java
index 952ea68e..1e1cb2f1 100644
--- a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ArtemisCoreProcessor.java
+++ b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ArtemisCoreProcessor.java
@@ -3,8 +3,8 @@
import java.util.*;
import java.util.function.Supplier;
-import javax.enterprise.context.ApplicationScoped;
-import javax.enterprise.inject.Default;
+import jakarta.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.inject.Default;
import org.apache.activemq.artemis.api.core.ActiveMQBuffers;
import org.apache.activemq.artemis.api.core.client.ServerLocator;
diff --git a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRunTimeConfigs.java b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRunTimeConfigs.java
index b1e7f68e..3a8f252b 100644
--- a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRunTimeConfigs.java
+++ b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRunTimeConfigs.java
@@ -12,7 +12,7 @@
*
* We use this configuration to access the configuration structure, and to extract the names of configurations
* present at build-time, so we can create the {@link org.apache.activemq.artemis.api.core.client.ServerLocator} /
- * {@link javax.jms.ConnectionFactory} beans. Most importantly, we only query the presence of keys and/or values, we do
+ * {@link jakarta.jms.ConnectionFactory} beans. Most importantly, we only query the presence of keys and/or values, we do
* * not access values, since they could change at runtime.
*/
@SuppressWarnings("OptionalUsedAsFieldOrParameterType")
diff --git a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRuntimeConfig.java b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRuntimeConfig.java
index d36960b1..351515db 100644
--- a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRuntimeConfig.java
+++ b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/ShadowRuntimeConfig.java
@@ -12,7 +12,7 @@
*
* We use this configuration to access the configuration structure, and to extract the names of configurations
* present at build-time, so we can create the {@link org.apache.activemq.artemis.api.core.client.ServerLocator} /
- * {@link javax.jms.ConnectionFactory} beans. Most importantly, we only query the presence of keys and/or values, we do
+ * {@link jakarta.jms.ConnectionFactory} beans. Most importantly, we only query the presence of keys and/or values, we do
* not access values, since they could change at runtime.
*/
@SuppressWarnings("OptionalUsedAsFieldOrParameterType")
diff --git a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/health/ArtemisHealthProcessor.java b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/health/ArtemisHealthProcessor.java
index ce946fc7..a61ba3b2 100644
--- a/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/health/ArtemisHealthProcessor.java
+++ b/core/deployment/src/main/java/io/quarkus/artemis/core/deployment/health/ArtemisHealthProcessor.java
@@ -5,7 +5,7 @@
import java.util.Optional;
import java.util.Set;
-import javax.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.context.ApplicationScoped;
import io.quarkus.arc.deployment.SyntheticBeanBuildItem;
import io.quarkus.artemis.core.deployment.ArtemisBootstrappedBuildItem;
diff --git a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisBuildTimeConfig.java b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisBuildTimeConfig.java
index 6d5ba0ea..0253e571 100644
--- a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisBuildTimeConfig.java
+++ b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisBuildTimeConfig.java
@@ -32,7 +32,7 @@ public class ArtemisBuildTimeConfig {
public Optional healthExclude = Optional.empty();
/**
- * Support to expose {@link javax.jms.XAConnectionFactory}. Is not activated by default.
+ * Support to expose {@link jakarta.jms.XAConnectionFactory}. Is not activated by default.
*/
@ConfigItem
public Optional xaEnabled = Optional.empty();
diff --git a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisRuntimeConfigs.java b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisRuntimeConfigs.java
index 8aec87c5..5bc7582d 100644
--- a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisRuntimeConfigs.java
+++ b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisRuntimeConfigs.java
@@ -26,7 +26,7 @@ public class ArtemisRuntimeConfigs {
/**
* Whether configurations ({@link org.apache.activemq.artemis.api.core.client.ServerLocator}s in case of the
- * {@code artemis-core} extension, {@link javax.jms.ConnectionFactory}s in case of the
+ * {@code artemis-core} extension, {@link jakarta.jms.ConnectionFactory}s in case of the
* {@code artemis-jms} extension) should be included in the health check. Defaults to {@code true} if not set.
*/
@ConfigItem(name = "health.external.enabled")
diff --git a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisUtil.java b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisUtil.java
index 2142d6d8..17550134 100644
--- a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisUtil.java
+++ b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisUtil.java
@@ -3,7 +3,7 @@
import java.lang.annotation.Annotation;
import java.util.*;
-import javax.enterprise.inject.Any;
+import jakarta.enterprise.inject.Any;
import io.quarkus.arc.Arc;
import io.quarkus.arc.InstanceHandle;
diff --git a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java
index e60f973d..8da37d8b 100644
--- a/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java
+++ b/core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java
@@ -3,8 +3,8 @@
import java.lang.annotation.Annotation;
import java.util.*;
-import javax.enterprise.context.ApplicationScoped;
-import javax.enterprise.inject.Default;
+import jakarta.enterprise.context.ApplicationScoped;
+import jakarta.enterprise.inject.Default;
import org.apache.activemq.artemis.api.core.client.ClientSessionFactory;
import org.apache.activemq.artemis.api.core.client.ServerLocator;
diff --git a/docs/modules/ROOT/pages/includes/attributes.adoc b/docs/modules/ROOT/pages/includes/attributes.adoc
index 0e8194f7..e57c5190 100644
--- a/docs/modules/ROOT/pages/includes/attributes.adoc
+++ b/docs/modules/ROOT/pages/includes/attributes.adoc
@@ -1,5 +1,5 @@
-:quarkus-version: 2.14.1.Final
-:quarkus-artemis-version: 2.0.3
+:quarkus-version: 3.0.0.Alpha2
+:quarkus-artemis-version: 3.0.0.Alpha4
:quarkus-org-url: https://github.com/quarkusio
:quarkus-base-url: {quarkus-org-url}/quarkus
diff --git a/docs/modules/ROOT/pages/includes/quarkus-artemis-core.adoc b/docs/modules/ROOT/pages/includes/quarkus-artemis-core.adoc
index 4178658a..f540b82b 100644
--- a/docs/modules/ROOT/pages/includes/quarkus-artemis-core.adoc
+++ b/docs/modules/ROOT/pages/includes/quarkus-artemis-core.adoc
@@ -181,7 +181,7 @@ a|icon:lock[title=Fixed at build time] [[quarkus-artemis-core_quarkus.artemis.xa
[.description]
--
-Support to expose `javax.jms.XAConnectionFactory`. Is not activated by default.
+Support to expose `jakarta.jms.XAConnectionFactory`. Is not activated by default.
ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_ARTEMIS_XA_ENABLED+++[]
@@ -262,7 +262,7 @@ a| [[quarkus-artemis-core_quarkus.artemis.health.external.enabled]]`link:#quarku
[.description]
--
-Whether configurations (`org.apache.activemq.artemis.api.core.client.ServerLocator`s in case of the `artemis-core` extension, `javax.jms.ConnectionFactory`s in case of the `artemis-jms` extension) should be included in the health check. Defaults to `true` if not set.
+Whether configurations (`org.apache.activemq.artemis.api.core.client.ServerLocator`s in case of the `artemis-core` extension, `jakarta.jms.ConnectionFactory`s in case of the `artemis-jms` extension) should be included in the health check. Defaults to `true` if not set.
ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_ARTEMIS_HEALTH_EXTERNAL_ENABLED+++[]
@@ -450,7 +450,7 @@ a|icon:lock[title=Fixed at build time] [[quarkus-artemis-core_quarkus.artemis.-c
[.description]
--
-Support to expose `javax.jms.XAConnectionFactory`. Is not activated by default.
+Support to expose `jakarta.jms.XAConnectionFactory`. Is not activated by default.
ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_ARTEMIS__CONFIGURATION_NAME__XA_ENABLED+++[]
diff --git a/integration-tests/common-parent/pom.xml b/integration-tests/common-parent/pom.xml
new file mode 100644
index 00000000..d87b3811
--- /dev/null
+++ b/integration-tests/common-parent/pom.xml
@@ -0,0 +1,183 @@
+
+
+ 4.0.0
+
+ io.quarkiverse.artemis
+ quarkus-artemis-build-parent
+ 999-SNAPSHOT
+ ../../build-parent/pom.xml
+
+
+ quarkus-integration-test-artemis-common-parent
+ Quarkus - Artemis - Integration Tests - Common Parent
+ The Apache ActiveMQ Artemis integration tests common parent module
+
+ pom
+
+
+
+
+
+ io.smallrye
+ jandex-maven-plugin
+ ${jandex-maven-plugin.version}
+
+
+ make-index
+
+ jandex
+
+
+
+
+
+
+
+
+
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-camel-jms-common
+ ${project.version}
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-camel-jms-common
+ tests
+ test-jar
+ ${project.version}
+ test
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-common
+ ${project.version}
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-common
+ tests
+ test-jar
+ ${project.version}
+ test
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-core-common
+ ${project.version}
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-core-common
+ tests
+ test-jar
+ ${project.version}
+ test
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-jms-common
+ ${project.version}
+
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-jms-common
+ tests
+ test-jar
+ ${project.version}
+ test
+
+
+
+
+
+
+
+ io.quarkus
+ quarkus-resteasy
+
+
+
+
+ io.quarkiverse.artemis
+ quarkus-test-artemis
+ test
+
+
+
+
+ io.quarkus
+ quarkus-smallrye-health
+
+
+
+
+ io.quarkus
+ quarkus-jackson
+ test
+
+
+ io.quarkus
+ quarkus-junit5
+ test
+
+
+ io.rest-assured
+ rest-assured
+ test
+
+
+ org.apache.activemq
+ artemis-server
+ test
+
+
+ org.jboss.logging
+ commons-logging-jboss-logging
+ test
+
+
+
+
+
+ native-image
+
+
+ native
+
+
+
+
+
+ maven-surefire-plugin
+
+ ${native.surefire.skip}
+
+
+
+ maven-failsafe-plugin
+
+
+
+ integration-test
+ verify
+
+
+
+ ${project.build.directory}/${project.build.finalName}-runner
+ org.jboss.logmanager.LogManager
+ ${maven.home}
+
+
+
+
+
+
+
+
+ native
+
+
+
+
\ No newline at end of file
diff --git a/integration-tests/common/pom.xml b/integration-tests/common/pom.xml
new file mode 100644
index 00000000..0709dae3
--- /dev/null
+++ b/integration-tests/common/pom.xml
@@ -0,0 +1,43 @@
+
+
+ 4.0.0
+
+ io.quarkiverse.artemis
+ quarkus-integration-test-artemis-common-parent
+ 999-SNAPSHOT
+ ../common-parent/pom.xml
+
+
+ quarkus-integration-test-artemis-common
+ Quarkus - Artemis - Integration Tests - Common
+ The Apache ActiveMQ Artemis integration tests common module
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ test-jar
+
+
+
+
+
+
+
+
+
+ io.quarkus
+ quarkus-junit5
+ compile
+
+
+ io.rest-assured
+ rest-assured
+ compile
+
+
+
\ No newline at end of file
diff --git a/integration-tests/core/with-default-change-url/src/test/java/io/quarkus/it/artemis/core/withdefault/changeurl/BaseArtemisHealthCheckTest.java b/integration-tests/common/src/test/java/io/quarkus/it/artemis/common/ArtemisHealthCheckHelper.java
similarity index 60%
rename from integration-tests/core/with-default-change-url/src/test/java/io/quarkus/it/artemis/core/withdefault/changeurl/BaseArtemisHealthCheckTest.java
rename to integration-tests/common/src/test/java/io/quarkus/it/artemis/common/ArtemisHealthCheckHelper.java
index 9ea34e63..827e89d6 100644
--- a/integration-tests/core/with-default-change-url/src/test/java/io/quarkus/it/artemis/core/withdefault/changeurl/BaseArtemisHealthCheckTest.java
+++ b/integration-tests/common/src/test/java/io/quarkus/it/artemis/common/ArtemisHealthCheckHelper.java
@@ -1,30 +1,29 @@
-package io.quarkus.it.artemis.core.withdefault.changeurl;
+package io.quarkus.it.artemis.common;
+import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
import io.restassured.RestAssured;
import io.restassured.common.mapper.TypeRef;
import io.restassured.response.Response;
-public abstract class BaseArtemisHealthCheckTest {
- @Test
- void testHealth() {
- test("/q/health", Set.of("", "named-1"));
+public class ArtemisHealthCheckHelper {
+
+ public static void testCore(String endpoint, Set expectedConfigurations) {
+ test(endpoint, expectedConfigurations, "Artemis Core health check");
}
- @Test
- void testReady() {
- test("/q/health/ready", Set.of("", "named-1"));
+ public static void testJms(String endpoint, Set expectedConfigurations) {
+ test(endpoint, expectedConfigurations, "Artemis JMS health check");
}
- private static void test(String endpoint, Set expectedConfigurations) {
+ private static void test(String endpoint, Set expectedConfigurations, String healthCheckMessage) {
Response response = RestAssured.with().get(endpoint);
- Assertions.assertEquals(javax.ws.rs.core.Response.Status.OK.getStatusCode(), response.statusCode());
+ Assertions.assertEquals(jakarta.ws.rs.core.Response.Status.OK.getStatusCode(), response.statusCode());
Map body = response.as(new TypeRef<>() {
});
@@ -34,14 +33,17 @@ private static void test(String endpoint, Set expectedConfigurations) {
List