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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to