This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch development
in repository https://gitbox.apache.org/repos/asf/artemis-examples.git

commit 9e1b00475d10f606c33e10685d0b346b46c5cca6
Author: Robbie Gemmell <[email protected]>
AuthorDate: Wed Feb 11 13:45:47 2026 +0000

    use regular client in most examples, add specific module examples for using 
the -all clients
---
 examples/features/standard/auto-closeable/pom.xml  |  2 +-
 .../standard/broker-msg-auth-plugin/pom.xml        |  2 +-
 examples/features/standard/broker-plugin/pom.xml   |  2 +-
 examples/features/standard/browser/pom.xml         |  2 +-
 examples/features/standard/client-kickoff/pom.xml  |  2 +-
 .../features/standard/completion-listener/pom.xml  |  2 +-
 .../features/standard/consumer-rate-limit/pom.xml  |  2 +-
 examples/features/standard/context/pom.xml         |  2 +-
 examples/features/standard/database/pom.xml        |  2 +-
 examples/features/standard/dead-letter/pom.xml     |  2 +-
 .../features/standard/delayed-redelivery/pom.xml   |  2 +-
 .../features/standard/durable-subscription/pom.xml |  2 +-
 examples/features/standard/exclusive-queue/pom.xml |  2 +-
 examples/features/standard/expiry/pom.xml          |  2 +-
 examples/features/standard/http-transport/pom.xml  |  2 +-
 .../instantiate-connection-factory/pom.xml         |  2 +-
 .../features/standard/interceptor-client/pom.xml   |  2 +-
 examples/features/standard/interceptor/pom.xml     |  2 +-
 .../features/standard/last-value-queue/pom.xml     |  2 +-
 .../standard/management-notifications/pom.xml      |  2 +-
 examples/features/standard/management/pom.xml      |  2 +-
 examples/features/standard/message-group/pom.xml   |  2 +-
 examples/features/standard/message-group2/pom.xml  |  2 +-
 .../features/standard/message-priority/pom.xml     |  2 +-
 examples/features/standard/netty-openssl/pom.xml   |  2 +-
 .../standard/no-consumer-buffering/pom.xml         |  2 +-
 examples/features/standard/opentelemetry/pom.xml   |  2 +-
 examples/features/standard/paging/pom.xml          |  2 +-
 examples/features/standard/pre-acknowledge/pom.xml |  2 +-
 .../features/standard/producer-rate-limit/pom.xml  |  2 +-
 examples/features/standard/queue-jakarta/pom.xml   | 11 ++--
 examples/features/standard/queue-requestor/pom.xml |  2 +-
 examples/features/standard/queue-selector/pom.xml  |  2 +-
 examples/features/standard/queue/pom.xml           |  2 +-
 examples/features/standard/reattach-node/pom.xml   |  2 +-
 examples/features/standard/request-reply/pom.xml   |  2 +-
 .../features/standard/security-keycloak/pom.xml    |  2 +-
 examples/features/standard/security-ldap/pom.xml   |  2 +-
 .../features/standard/security-manager/pom.xml     |  2 +-
 examples/features/standard/security/pom.xml        |  2 +-
 .../standard/send-acknowledgements/pom.xml         |  2 +-
 examples/features/standard/shared-consumer/pom.xml |  2 +-
 examples/features/standard/slow-consumer/pom.xml   |  2 +-
 .../features/standard/ssl-enabled-crl-mqtt/pom.xml |  2 +-
 .../ssl-enabled-dual-authentication/pom.xml        |  2 +-
 examples/features/standard/ssl-enabled/pom.xml     |  2 +-
 examples/features/standard/static-selector/pom.xml |  2 +-
 examples/features/standard/temp-queue/pom.xml      |  2 +-
 .../features/standard/topic-hierarchies/pom.xml    |  2 +-
 examples/features/standard/topic-selector1/pom.xml |  2 +-
 examples/features/standard/topic-selector2/pom.xml |  2 +-
 examples/features/standard/topic/pom.xml           |  2 +-
 examples/features/standard/transactional/pom.xml   |  2 +-
 examples/features/standard/xa-heuristic/pom.xml    |  2 +-
 examples/features/standard/xa-receive/pom.xml      |  2 +-
 examples/features/standard/xa-send/pom.xml         |  2 +-
 examples/features/sub-modules/pom.xml              | 15 ++++-
 .../queue-artemis-jakarta-client-all}/pom.xml      | 18 +++---
 .../queue-artemis-jakarta-client-all/readme.md     | 13 +++++
 .../activemq/artemis/jms/example/QueueExample.java | 68 ++++++++++++++++++++++
 .../queue-artemis-jms-client-all}/pom.xml          | 22 +++----
 .../queue-artemis-jms-client-all/readme.md         | 13 +++++
 .../activemq/artemis/jms/example/QueueExample.java | 68 ++++++++++++++++++++++
 scripts/run-examples.sh                            |  4 ++
 64 files changed, 260 insertions(+), 82 deletions(-)

diff --git a/examples/features/standard/auto-closeable/pom.xml 
b/examples/features/standard/auto-closeable/pom.xml
index 5a9c9cf6..28b36eca 100644
--- a/examples/features/standard/auto-closeable/pom.xml
+++ b/examples/features/standard/auto-closeable/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/broker-msg-auth-plugin/pom.xml 
b/examples/features/standard/broker-msg-auth-plugin/pom.xml
index ae3004c0..90b582ee 100644
--- a/examples/features/standard/broker-msg-auth-plugin/pom.xml
+++ b/examples/features/standard/broker-msg-auth-plugin/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/broker-plugin/pom.xml 
b/examples/features/standard/broker-plugin/pom.xml
index f6def586..43759cc0 100644
--- a/examples/features/standard/broker-plugin/pom.xml
+++ b/examples/features/standard/broker-plugin/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/browser/pom.xml 
b/examples/features/standard/browser/pom.xml
index 7cc45a13..2b9b5a1b 100644
--- a/examples/features/standard/browser/pom.xml
+++ b/examples/features/standard/browser/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/client-kickoff/pom.xml 
b/examples/features/standard/client-kickoff/pom.xml
index 7d969898..d3306782 100644
--- a/examples/features/standard/client-kickoff/pom.xml
+++ b/examples/features/standard/client-kickoff/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/completion-listener/pom.xml 
b/examples/features/standard/completion-listener/pom.xml
index aa52fbc5..497eb726 100644
--- a/examples/features/standard/completion-listener/pom.xml
+++ b/examples/features/standard/completion-listener/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/consumer-rate-limit/pom.xml 
b/examples/features/standard/consumer-rate-limit/pom.xml
index 857e703d..897d618a 100644
--- a/examples/features/standard/consumer-rate-limit/pom.xml
+++ b/examples/features/standard/consumer-rate-limit/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/context/pom.xml 
b/examples/features/standard/context/pom.xml
index 9e479e9e..a3631a62 100644
--- a/examples/features/standard/context/pom.xml
+++ b/examples/features/standard/context/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/database/pom.xml 
b/examples/features/standard/database/pom.xml
index e2d92adc..829b7e9b 100644
--- a/examples/features/standard/database/pom.xml
+++ b/examples/features/standard/database/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/dead-letter/pom.xml 
b/examples/features/standard/dead-letter/pom.xml
index 93e72441..a19c9adf 100644
--- a/examples/features/standard/dead-letter/pom.xml
+++ b/examples/features/standard/dead-letter/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/delayed-redelivery/pom.xml 
b/examples/features/standard/delayed-redelivery/pom.xml
index d4db4ff9..f066aeb2 100644
--- a/examples/features/standard/delayed-redelivery/pom.xml
+++ b/examples/features/standard/delayed-redelivery/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/durable-subscription/pom.xml 
b/examples/features/standard/durable-subscription/pom.xml
index 574247c9..516ea807 100644
--- a/examples/features/standard/durable-subscription/pom.xml
+++ b/examples/features/standard/durable-subscription/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/exclusive-queue/pom.xml 
b/examples/features/standard/exclusive-queue/pom.xml
index 34ce3bc8..1c0ee49f 100644
--- a/examples/features/standard/exclusive-queue/pom.xml
+++ b/examples/features/standard/exclusive-queue/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/expiry/pom.xml 
b/examples/features/standard/expiry/pom.xml
index 781d77f1..c1035db9 100644
--- a/examples/features/standard/expiry/pom.xml
+++ b/examples/features/standard/expiry/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/http-transport/pom.xml 
b/examples/features/standard/http-transport/pom.xml
index 221b4b3d..f9f59fd5 100644
--- a/examples/features/standard/http-transport/pom.xml
+++ b/examples/features/standard/http-transport/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/instantiate-connection-factory/pom.xml 
b/examples/features/standard/instantiate-connection-factory/pom.xml
index d52994a3..0a089a01 100644
--- a/examples/features/standard/instantiate-connection-factory/pom.xml
+++ b/examples/features/standard/instantiate-connection-factory/pom.xml
@@ -39,7 +39,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/interceptor-client/pom.xml 
b/examples/features/standard/interceptor-client/pom.xml
index 7014d31c..6b03e39b 100644
--- a/examples/features/standard/interceptor-client/pom.xml
+++ b/examples/features/standard/interceptor-client/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/interceptor/pom.xml 
b/examples/features/standard/interceptor/pom.xml
index c985e349..d25b8562 100644
--- a/examples/features/standard/interceptor/pom.xml
+++ b/examples/features/standard/interceptor/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/last-value-queue/pom.xml 
b/examples/features/standard/last-value-queue/pom.xml
index 37cb61ce..885e5110 100644
--- a/examples/features/standard/last-value-queue/pom.xml
+++ b/examples/features/standard/last-value-queue/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/management-notifications/pom.xml 
b/examples/features/standard/management-notifications/pom.xml
index cd2fcdc8..0a886de9 100644
--- a/examples/features/standard/management-notifications/pom.xml
+++ b/examples/features/standard/management-notifications/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/management/pom.xml 
b/examples/features/standard/management/pom.xml
index dd05f3d0..0e819b83 100644
--- a/examples/features/standard/management/pom.xml
+++ b/examples/features/standard/management/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/message-group/pom.xml 
b/examples/features/standard/message-group/pom.xml
index 19c3b9b0..d6d65d2d 100644
--- a/examples/features/standard/message-group/pom.xml
+++ b/examples/features/standard/message-group/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/message-group2/pom.xml 
b/examples/features/standard/message-group2/pom.xml
index 1cea6672..9c50b371 100644
--- a/examples/features/standard/message-group2/pom.xml
+++ b/examples/features/standard/message-group2/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/message-priority/pom.xml 
b/examples/features/standard/message-priority/pom.xml
index 0502e690..9040f90c 100644
--- a/examples/features/standard/message-priority/pom.xml
+++ b/examples/features/standard/message-priority/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/netty-openssl/pom.xml 
b/examples/features/standard/netty-openssl/pom.xml
index d6c440f4..69962346 100644
--- a/examples/features/standard/netty-openssl/pom.xml
+++ b/examples/features/standard/netty-openssl/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/no-consumer-buffering/pom.xml 
b/examples/features/standard/no-consumer-buffering/pom.xml
index 9641047f..e6be7ba6 100644
--- a/examples/features/standard/no-consumer-buffering/pom.xml
+++ b/examples/features/standard/no-consumer-buffering/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/opentelemetry/pom.xml 
b/examples/features/standard/opentelemetry/pom.xml
index 7acdacc0..48566cf8 100644
--- a/examples/features/standard/opentelemetry/pom.xml
+++ b/examples/features/standard/opentelemetry/pom.xml
@@ -39,7 +39,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/paging/pom.xml 
b/examples/features/standard/paging/pom.xml
index a439cdc1..55ef4dd9 100644
--- a/examples/features/standard/paging/pom.xml
+++ b/examples/features/standard/paging/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/pre-acknowledge/pom.xml 
b/examples/features/standard/pre-acknowledge/pom.xml
index 3c3343a5..7e8b383f 100644
--- a/examples/features/standard/pre-acknowledge/pom.xml
+++ b/examples/features/standard/pre-acknowledge/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/producer-rate-limit/pom.xml 
b/examples/features/standard/producer-rate-limit/pom.xml
index b4448624..6602c20d 100644
--- a/examples/features/standard/producer-rate-limit/pom.xml
+++ b/examples/features/standard/producer-rate-limit/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/queue-jakarta/pom.xml 
b/examples/features/standard/queue-jakarta/pom.xml
index 4c751422..48886284 100644
--- a/examples/features/standard/queue-jakarta/pom.xml
+++ b/examples/features/standard/queue-jakarta/pom.xml
@@ -29,16 +29,17 @@ under the License.
 
    <artifactId>queue-jakarta</artifactId>
    <packaging>jar</packaging>
-   <name>Apache Artemis Jakarta Messaging 3.0 Queue Example</name>
+   <name>Apache Artemis Jakarta Messaging 3 Queue Example</name>
 
    <properties>
       <activemq.basedir>${project.basedir}/../../../..</activemq.basedir>
+      
<jakarta.jms-api.version>${jakarta.jms-api.version.alt}</jakarta.jms-api.version>
    </properties>
 
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jakarta-client-all</artifactId>
+         <artifactId>artemis-jakarta-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
@@ -56,10 +57,10 @@ under the License.
                      <goal>dependency-scan</goal>
                   </goals>
                   <configuration>
-                     <libList>
-                        
<arg>org.apache.artemis:artemis-jakarta-client-all:${project.version}</arg>
+                     <libListWithDeps>
+                        
<arg>org.apache.artemis:artemis-jakarta-client:${project.version}</arg>
                         
<arg>org.apache.artemis.examples.broker:queue-jakarta:${project.version}</arg>
-                     </libList>
+                     </libListWithDeps>
                      <variableName>ARTEMIS-JAKARTA</variableName>
                   </configuration>
                </execution>
diff --git a/examples/features/standard/queue-requestor/pom.xml 
b/examples/features/standard/queue-requestor/pom.xml
index aa239b00..105e4f46 100644
--- a/examples/features/standard/queue-requestor/pom.xml
+++ b/examples/features/standard/queue-requestor/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/queue-selector/pom.xml 
b/examples/features/standard/queue-selector/pom.xml
index 126731d8..bb5834d4 100644
--- a/examples/features/standard/queue-selector/pom.xml
+++ b/examples/features/standard/queue-selector/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/queue/pom.xml 
b/examples/features/standard/queue/pom.xml
index 68df9421..de37204b 100644
--- a/examples/features/standard/queue/pom.xml
+++ b/examples/features/standard/queue/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/reattach-node/pom.xml 
b/examples/features/standard/reattach-node/pom.xml
index 06caadec..a91bf743 100644
--- a/examples/features/standard/reattach-node/pom.xml
+++ b/examples/features/standard/reattach-node/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/request-reply/pom.xml 
b/examples/features/standard/request-reply/pom.xml
index 2afe6307..64f55620 100644
--- a/examples/features/standard/request-reply/pom.xml
+++ b/examples/features/standard/request-reply/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/security-keycloak/pom.xml 
b/examples/features/standard/security-keycloak/pom.xml
index 139e7763..d2ae0339 100644
--- a/examples/features/standard/security-keycloak/pom.xml
+++ b/examples/features/standard/security-keycloak/pom.xml
@@ -41,7 +41,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/security-ldap/pom.xml 
b/examples/features/standard/security-ldap/pom.xml
index e475f69f..ade45fcf 100644
--- a/examples/features/standard/security-ldap/pom.xml
+++ b/examples/features/standard/security-ldap/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/security-manager/pom.xml 
b/examples/features/standard/security-manager/pom.xml
index d0879263..9926d616 100644
--- a/examples/features/standard/security-manager/pom.xml
+++ b/examples/features/standard/security-manager/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
       <dependency>
diff --git a/examples/features/standard/security/pom.xml 
b/examples/features/standard/security/pom.xml
index 18591e61..fea38b94 100644
--- a/examples/features/standard/security/pom.xml
+++ b/examples/features/standard/security/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/send-acknowledgements/pom.xml 
b/examples/features/standard/send-acknowledgements/pom.xml
index 8ebdbdc7..de399daf 100644
--- a/examples/features/standard/send-acknowledgements/pom.xml
+++ b/examples/features/standard/send-acknowledgements/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/shared-consumer/pom.xml 
b/examples/features/standard/shared-consumer/pom.xml
index 338dc948..dd5b4aaa 100644
--- a/examples/features/standard/shared-consumer/pom.xml
+++ b/examples/features/standard/shared-consumer/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/slow-consumer/pom.xml 
b/examples/features/standard/slow-consumer/pom.xml
index 4b5cf72a..415cc592 100644
--- a/examples/features/standard/slow-consumer/pom.xml
+++ b/examples/features/standard/slow-consumer/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/ssl-enabled-crl-mqtt/pom.xml 
b/examples/features/standard/ssl-enabled-crl-mqtt/pom.xml
index 10574b59..8db2c1a0 100644
--- a/examples/features/standard/ssl-enabled-crl-mqtt/pom.xml
+++ b/examples/features/standard/ssl-enabled-crl-mqtt/pom.xml
@@ -38,7 +38,7 @@ under the License.
     <dependencies>
         <dependency>
             <groupId>org.apache.artemis</groupId>
-            <artifactId>artemis-jms-client-all</artifactId>
+            <artifactId>artemis-jms-client</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git a/examples/features/standard/ssl-enabled-dual-authentication/pom.xml 
b/examples/features/standard/ssl-enabled-dual-authentication/pom.xml
index 35f468a5..50d0a884 100644
--- a/examples/features/standard/ssl-enabled-dual-authentication/pom.xml
+++ b/examples/features/standard/ssl-enabled-dual-authentication/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/ssl-enabled/pom.xml 
b/examples/features/standard/ssl-enabled/pom.xml
index 7ec46023..7c37c052 100644
--- a/examples/features/standard/ssl-enabled/pom.xml
+++ b/examples/features/standard/ssl-enabled/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/static-selector/pom.xml 
b/examples/features/standard/static-selector/pom.xml
index 9d8876bf..685d86d1 100644
--- a/examples/features/standard/static-selector/pom.xml
+++ b/examples/features/standard/static-selector/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/temp-queue/pom.xml 
b/examples/features/standard/temp-queue/pom.xml
index 864cbd2b..f09d8d4b 100644
--- a/examples/features/standard/temp-queue/pom.xml
+++ b/examples/features/standard/temp-queue/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/topic-hierarchies/pom.xml 
b/examples/features/standard/topic-hierarchies/pom.xml
index cf3c0f29..e5221908 100644
--- a/examples/features/standard/topic-hierarchies/pom.xml
+++ b/examples/features/standard/topic-hierarchies/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/topic-selector1/pom.xml 
b/examples/features/standard/topic-selector1/pom.xml
index c191513a..48bc6692 100644
--- a/examples/features/standard/topic-selector1/pom.xml
+++ b/examples/features/standard/topic-selector1/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/topic-selector2/pom.xml 
b/examples/features/standard/topic-selector2/pom.xml
index d9a9f7c4..20705a86 100644
--- a/examples/features/standard/topic-selector2/pom.xml
+++ b/examples/features/standard/topic-selector2/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/topic/pom.xml 
b/examples/features/standard/topic/pom.xml
index c1af7699..0c5b86e3 100644
--- a/examples/features/standard/topic/pom.xml
+++ b/examples/features/standard/topic/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/transactional/pom.xml 
b/examples/features/standard/transactional/pom.xml
index 354a6b12..7ec53225 100644
--- a/examples/features/standard/transactional/pom.xml
+++ b/examples/features/standard/transactional/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/xa-heuristic/pom.xml 
b/examples/features/standard/xa-heuristic/pom.xml
index c9528b1f..228b56c7 100644
--- a/examples/features/standard/xa-heuristic/pom.xml
+++ b/examples/features/standard/xa-heuristic/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/xa-receive/pom.xml 
b/examples/features/standard/xa-receive/pom.xml
index caceaf6f..cf60cf4a 100644
--- a/examples/features/standard/xa-receive/pom.xml
+++ b/examples/features/standard/xa-receive/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/standard/xa-send/pom.xml 
b/examples/features/standard/xa-send/pom.xml
index ccc4d732..6ff4559e 100644
--- a/examples/features/standard/xa-send/pom.xml
+++ b/examples/features/standard/xa-send/pom.xml
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jms-client-all</artifactId>
+         <artifactId>artemis-jms-client</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
diff --git a/examples/features/sub-modules/pom.xml 
b/examples/features/sub-modules/pom.xml
index e9bbe1cc..eb501875 100644
--- a/examples/features/sub-modules/pom.xml
+++ b/examples/features/sub-modules/pom.xml
@@ -44,11 +44,22 @@ under the License.
    </properties>
 
    <profiles>
-      <!-- The modules examples need to be executed manually,
-           for that reason we won't provide an examples profile here to 
execute all of them at once -->
+      <profile>
+         <id>examples</id>
+         <modules>
+            <module>queue-artemis-jakarta-client-all</module>
+            <module>queue-artemis-jms-client-all</module>
+         </modules>
+      </profile>
+
       <profile>
          <id>release</id>
          <modules>
+            <module>queue-artemis-jakarta-client-all</module>
+            <module>queue-artemis-jms-client-all</module>
+
+            <!-- The below examples need to be executed manually, so we don't 
provide
+                 an 'examples' profile entry for them to execute all of them 
at once -->
             <module>artemis-jakarta-ra-rar</module>
             <module>artemis-ra-rar</module>
             <module>inter-broker-bridge</module>
diff --git a/examples/features/standard/queue-jakarta/pom.xml 
b/examples/features/sub-modules/queue-artemis-jakarta-client-all/pom.xml
similarity index 85%
copy from examples/features/standard/queue-jakarta/pom.xml
copy to examples/features/sub-modules/queue-artemis-jakarta-client-all/pom.xml
index 4c751422..ffc7a460 100644
--- a/examples/features/standard/queue-jakarta/pom.xml
+++ b/examples/features/sub-modules/queue-artemis-jakarta-client-all/pom.xml
@@ -22,14 +22,14 @@ under the License.
    <modelVersion>4.0.0</modelVersion>
 
    <parent>
-      <groupId>org.apache.artemis.examples.broker</groupId>
-      <artifactId>jms-examples</artifactId>
+      <groupId>org.apache.artemis.examples.modules</groupId>
+      <artifactId>broker-modules</artifactId>
       <version>2.51.0-SNAPSHOT</version>
    </parent>
 
-   <artifactId>queue-jakarta</artifactId>
+   <artifactId>queue-artemis-jakarta-client-all</artifactId>
    <packaging>jar</packaging>
-   <name>Apache Artemis Jakarta Messaging 3.0 Queue Example</name>
+   <name>Apache Artemis Jakarta Messaging 3 Client All Queue Example</name>
 
    <properties>
       <activemq.basedir>${project.basedir}/../../../..</activemq.basedir>
@@ -58,9 +58,9 @@ under the License.
                   <configuration>
                      <libList>
                         
<arg>org.apache.artemis:artemis-jakarta-client-all:${project.version}</arg>
-                        
<arg>org.apache.artemis.examples.broker:queue-jakarta:${project.version}</arg>
+                        
<arg>org.apache.artemis.examples.modules:queue-artemis-jakarta-client-all:${project.version}</arg>
                      </libList>
-                     <variableName>ARTEMIS-JAKARTA</variableName>
+                     <variableName>ARTEMIS-JAKARTA-CLIENT-ALL</variableName>
                   </configuration>
                </execution>
                <execution>
@@ -93,7 +93,7 @@ under the License.
                   </goals>
                   <configuration>
                      
<clientClass>org.apache.activemq.artemis.jms.example.QueueExample</clientClass>
-                     <classPath>${ARTEMIS-JAKARTA}</classPath>
+                     <classPath>${ARTEMIS-JAKARTA-CLIENT-ALL}</classPath>
                   </configuration>
                </execution>
                <execution>
@@ -108,8 +108,8 @@ under the License.
             </executions>
             <dependencies>
                <dependency>
-                  <groupId>org.apache.artemis.examples.broker</groupId>
-                  <artifactId>queue-jakarta</artifactId>
+                  <groupId>org.apache.artemis.examples.modules</groupId>
+                  <artifactId>queue-artemis-jakarta-client-all</artifactId>
                   <version>${project.version}</version>
                </dependency>
             </dependencies>
diff --git 
a/examples/features/sub-modules/queue-artemis-jakarta-client-all/readme.md 
b/examples/features/sub-modules/queue-artemis-jakarta-client-all/readme.md
new file mode 100644
index 00000000..abae589c
--- /dev/null
+++ b/examples/features/sub-modules/queue-artemis-jakarta-client-all/readme.md
@@ -0,0 +1,13 @@
+# Jakarta Messaging 3 Queue Example
+
+If you have not already done so, [prepare the broker 
distribution](../../../../README.md#getting-started) before running the example.
+
+To run the example, simply type **mvn verify** from this directory, or **mvn 
-PnoServer verify** if you want to start and create the broker manually.
+
+This example shows you how to send and receive a message to a JMS Queue using 
Apache Artemis, via artemis-jakarta-client-all.
+
+Queues are a standard part of JMS, please consult the Jakarta Messaging 3 
specification for full details.
+
+A Queue is used to send messages point to point, from a producer to a 
consumer. The queue guarantees message ordering between these 2 points.
+
+Notice this example is using pretty much a default stock configuration
diff --git 
a/examples/features/sub-modules/queue-artemis-jakarta-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
 
b/examples/features/sub-modules/queue-artemis-jakarta-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
new file mode 100644
index 00000000..9ffed083
--- /dev/null
+++ 
b/examples/features/sub-modules/queue-artemis-jakarta-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.artemis.jms.example;
+
+import jakarta.jms.Connection;
+import jakarta.jms.ConnectionFactory;
+import jakarta.jms.MessageConsumer;
+import jakarta.jms.MessageProducer;
+import jakarta.jms.Queue;
+import jakarta.jms.Session;
+import jakarta.jms.TextMessage;
+import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
+
+/**
+ * A simple JMS Queue example that creates a producer and consumer on a queue 
and sends then receives a message.
+ */
+public class QueueExample {
+
+   public static void main(final String[] args) throws Exception {
+
+      Connection connection = null;
+      try {
+
+         ConnectionFactory cf = new ActiveMQConnectionFactory();
+
+         connection = cf.createConnection();
+
+         Session session = connection.createSession(false, 
Session.AUTO_ACKNOWLEDGE);
+
+         Queue queue = session.createQueue("exampleQueue");
+
+         MessageProducer producer = session.createProducer(queue);
+
+         TextMessage message = session.createTextMessage("This is a text 
message");
+
+         System.out.println("Sent message: " + message.getText());
+
+         producer.send(message);
+
+         MessageConsumer messageConsumer = session.createConsumer(queue);
+
+         connection.start();
+
+         // Step 11. Receive the message
+         TextMessage messageReceived = (TextMessage) 
messageConsumer.receive(5000);
+
+         System.out.println("Received message: " + messageReceived.getText());
+      } finally {
+         if (connection != null) {
+            connection.close();
+         }
+      }
+   }
+}
diff --git a/examples/features/standard/queue-jakarta/pom.xml 
b/examples/features/sub-modules/queue-artemis-jms-client-all/pom.xml
similarity index 82%
copy from examples/features/standard/queue-jakarta/pom.xml
copy to examples/features/sub-modules/queue-artemis-jms-client-all/pom.xml
index 4c751422..adc5a883 100644
--- a/examples/features/standard/queue-jakarta/pom.xml
+++ b/examples/features/sub-modules/queue-artemis-jms-client-all/pom.xml
@@ -22,14 +22,14 @@ under the License.
    <modelVersion>4.0.0</modelVersion>
 
    <parent>
-      <groupId>org.apache.artemis.examples.broker</groupId>
-      <artifactId>jms-examples</artifactId>
+      <groupId>org.apache.artemis.examples.modules</groupId>
+      <artifactId>broker-modules</artifactId>
       <version>2.51.0-SNAPSHOT</version>
    </parent>
 
-   <artifactId>queue-jakarta</artifactId>
+   <artifactId>queue-artemis-jms-client-all</artifactId>
    <packaging>jar</packaging>
-   <name>Apache Artemis Jakarta Messaging 3.0 Queue Example</name>
+   <name>Apache Artemis JMS Client All Queue Example</name>
 
    <properties>
       <activemq.basedir>${project.basedir}/../../../..</activemq.basedir>
@@ -38,7 +38,7 @@ under the License.
    <dependencies>
       <dependency>
          <groupId>org.apache.artemis</groupId>
-         <artifactId>artemis-jakarta-client-all</artifactId>
+         <artifactId>artemis-jms-client-all</artifactId>
          <version>${project.version}</version>
       </dependency>
    </dependencies>
@@ -57,10 +57,10 @@ under the License.
                   </goals>
                   <configuration>
                      <libList>
-                        
<arg>org.apache.artemis:artemis-jakarta-client-all:${project.version}</arg>
-                        
<arg>org.apache.artemis.examples.broker:queue-jakarta:${project.version}</arg>
+                        
<arg>org.apache.artemis:artemis-jms-client-all:${project.version}</arg>
+                        
<arg>org.apache.artemis.examples.modules:queue-artemis-jms-client-all:${project.version}</arg>
                      </libList>
-                     <variableName>ARTEMIS-JAKARTA</variableName>
+                     <variableName>ARTEMIS-JMS-CLIENT-ALL</variableName>
                   </configuration>
                </execution>
                <execution>
@@ -93,7 +93,7 @@ under the License.
                   </goals>
                   <configuration>
                      
<clientClass>org.apache.activemq.artemis.jms.example.QueueExample</clientClass>
-                     <classPath>${ARTEMIS-JAKARTA}</classPath>
+                     <classPath>${ARTEMIS-JMS-CLIENT-ALL}</classPath>
                   </configuration>
                </execution>
                <execution>
@@ -108,8 +108,8 @@ under the License.
             </executions>
             <dependencies>
                <dependency>
-                  <groupId>org.apache.artemis.examples.broker</groupId>
-                  <artifactId>queue-jakarta</artifactId>
+                  <groupId>org.apache.artemis.examples.modules</groupId>
+                  <artifactId>queue-artemis-jms-client-all</artifactId>
                   <version>${project.version}</version>
                </dependency>
             </dependencies>
diff --git 
a/examples/features/sub-modules/queue-artemis-jms-client-all/readme.md 
b/examples/features/sub-modules/queue-artemis-jms-client-all/readme.md
new file mode 100644
index 00000000..bf111a54
--- /dev/null
+++ b/examples/features/sub-modules/queue-artemis-jms-client-all/readme.md
@@ -0,0 +1,13 @@
+# JMS Client All Queue Example
+
+If you have not already done so, [prepare the broker 
distribution](../../../../README.md#getting-started) before running the example.
+
+To run the example, simply type **mvn verify** from this directory, or **mvn 
-PnoServer verify** if you want to start and create the broker manually.
+
+This example shows you how to send and receive a message to a JMS Queue using 
Apache Artemis, via artemis-jms-client-all.
+
+Queues are a standard part of JMS, please consult the Jakarta Messaging 2 
specification for full details.
+
+A Queue is used to send messages point to point, from a producer to a 
consumer. The queue guarantees message ordering between these 2 points.
+
+Notice this example is using pretty much a default stock configuration
diff --git 
a/examples/features/sub-modules/queue-artemis-jms-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
 
b/examples/features/sub-modules/queue-artemis-jms-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
new file mode 100644
index 00000000..90fc3423
--- /dev/null
+++ 
b/examples/features/sub-modules/queue-artemis-jms-client-all/src/main/java/org/apache/activemq/artemis/jms/example/QueueExample.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.artemis.jms.example;
+
+import javax.jms.Connection;
+import javax.jms.ConnectionFactory;
+import javax.jms.MessageConsumer;
+import javax.jms.MessageProducer;
+import javax.jms.Queue;
+import javax.jms.Session;
+import javax.jms.TextMessage;
+import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
+
+/**
+ * A simple JMS Queue example that creates a producer and consumer on a queue 
and sends then receives a message.
+ */
+public class QueueExample {
+
+   public static void main(final String[] args) throws Exception {
+
+      Connection connection = null;
+      try {
+
+         ConnectionFactory cf = new ActiveMQConnectionFactory();
+
+         connection = cf.createConnection();
+
+         Session session = connection.createSession(false, 
Session.AUTO_ACKNOWLEDGE);
+
+         Queue queue = session.createQueue("exampleQueue");
+
+         MessageProducer producer = session.createProducer(queue);
+
+         TextMessage message = session.createTextMessage("This is a text 
message");
+
+         System.out.println("Sent message: " + message.getText());
+
+         producer.send(message);
+
+         MessageConsumer messageConsumer = session.createConsumer(queue);
+
+         connection.start();
+
+         // Step 11. Receive the message
+         TextMessage messageReceived = (TextMessage) 
messageConsumer.receive(5000);
+
+         System.out.println("Received message: " + messageReceived.getText());
+      } finally {
+         if (connection != null) {
+            connection.close();
+         }
+      }
+   }
+}
diff --git a/scripts/run-examples.sh b/scripts/run-examples.sh
index 5491b5ed..24920711 100755
--- a/scripts/run-examples.sh
+++ b/scripts/run-examples.sh
@@ -185,3 +185,7 @@ cd amqp-federation-queue-multiple-brokers; mvn verify; cd ..
 cd amqp-federation-queue-pull-messages; mvn verify; cd ..
 cd amqp-bridge; mvn verify; cd ..
 
+cd $ARTEMIS_EXAMPLES_ROOT/examples/features/sub-modules/
+cd queue-artemis-jakarta-client-all; mvn verify; cd ..
+cd queue-artemis-jms-client-all; mvn verify; cd ..
+


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to