You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@artemis.apache.org by ro...@apache.org on 2026/04/30 10:30:12 UTC

(artemis-examples) branch development updated: ARTEMIS-5996 fix examples

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

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


The following commit(s) were added to refs/heads/development by this push:
     new 8e39b399 ARTEMIS-5996 fix examples
8e39b399 is described below

commit 8e39b399073f9c6e0c9f2607130d767d57032821
Author: Justin Bertram <jb...@apache.org>
AuthorDate: Wed Apr 29 22:00:52 2026 -0500

    ARTEMIS-5996 fix examples
---
 .../activemq/artemis/jms/example/StompDualAuthenticationExample.java   | 1 +
 .../artemis/jms/example/StompEmbeddedWithInterceptorExample.java       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/protocols/stomp/stomp-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/StompDualAuthenticationExample.java b/examples/protocols/stomp/stomp-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/StompDualAuthenticationExample.java
index 83464942..6026d1d1 100644
--- a/examples/protocols/stomp/stomp-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/StompDualAuthenticationExample.java
+++ b/examples/protocols/stomp/stomp-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/StompDualAuthenticationExample.java
@@ -68,6 +68,7 @@ public class StompDualAuthenticationExample {
          String text = "Hello, world from Stomp!";
          String message = "SEND\n" +
             "destination: exampleQueue\n" +
+            "destination-type: ANYCAST\n" +
             "\n" +
             text +
             END_OF_FRAME;
diff --git a/examples/protocols/stomp/stomp-embedded-interceptor/src/main/java/org/apache/activemq/artemis/jms/example/StompEmbeddedWithInterceptorExample.java b/examples/protocols/stomp/stomp-embedded-interceptor/src/main/java/org/apache/activemq/artemis/jms/example/StompEmbeddedWithInterceptorExample.java
index fd661b9d..ed3a0d18 100644
--- a/examples/protocols/stomp/stomp-embedded-interceptor/src/main/java/org/apache/activemq/artemis/jms/example/StompEmbeddedWithInterceptorExample.java
+++ b/examples/protocols/stomp/stomp-embedded-interceptor/src/main/java/org/apache/activemq/artemis/jms/example/StompEmbeddedWithInterceptorExample.java
@@ -52,7 +52,8 @@ public class StompEmbeddedWithInterceptorExample {
          // jms.queue.exampleQueue address with a text body
          String text = "Hello World from Stomp 1.2 !";
          String message = "SEND\n" +
-            "destination:exampleQueue" +
+            "destination:exampleQueue\n" +
+            "destination-type:ANYCAST\n" +
             "\n" +
             text +
             END_OF_FRAME;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@artemis.apache.org
For additional commands, e-mail: commits-help@artemis.apache.org