Thank you for your help. If I understand correctly, you are using the CLI tool, which is fine. As I said before, I also get normal results using Artemis Java Client. The problem is that it cannot be used with JMSTemplate. You can refer to the "artemis-problem-demo/artemis-node1/src/test/java/com/artemis/example/SendMessageTest.java" file in my demo project.
Justin Bertram <jbert...@apache.org> 于2024年11月27日周三 12:10写道: > I used your demo, but everything worked fine. I also tested with standalone > 2.19.1, and everything worked fine. I added more details to my answer on > Stack Overflow. > > Based on all the evidence so far there is no problem. > > > Justin > > On Tue, Nov 26, 2024 at 9:38 PM F G <yu1638234...@gmail.com> wrote: > > > Thanks Justin, I added a demo of the problem in the comment section of > your > > Stack Overflow answer. If you have time to try and confirm that it is a > > version problem, I will mark your answer for future people who use > version > > 2.19.1 (the last version that supports jdk8) and have the same business > > scenario. In my problem, the only problem with the artemis client > solution > > is that the message cannot be previewed. Your answer has helped me solve > > the problem.😄 > > > > Justin Bertram <jbert...@apache.org> 于2024年11月26日周二 02:26写道: > > > > > It's possible there's a bug in 2.19.1 that's causing this to fail for > > you, > > > but I can't actually recall any fixes that might apply directly to this > > > use-case. In any case, I tested with 2.38.0 and everything worked as > > > expected. I responded more fully on Stack Overflow. > > > > > > > > > Justin > > > > > > On Sun, Nov 24, 2024 at 4:12 AM F G <yu1638234...@gmail.com> wrote: > > > > > > > Hello everyone, I am using Artemis2.19.1. I encountered a problem > about > > > the > > > > "divert" message diversion. I would like to ask if you have a good > > > > solution. The problem address is ActiveMQ Artemis message multicast > > > divert > > > > anycast failed <https://stackoverflow.com/q/79219786/13835095> > > > > > > > > > >