-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
ARTEMIS-3901
The cli command
bin/artemis perf client --durable
fails with an exception:
java.lang.ClassCastException: class org.apache.activemq.artemis.jms.client.ActiveMQQueue cannot be cast to class javax.jms.Topic (org.apache.activemq.artemis.jms.client.ActiveMQQueue and javax.jms.Topic are in unnamed module of loader 'app') at org.apache.activemq.artemis.cli.commands.messages.perf.MessageListenerBenchmark.start(MessageListenerBenchmark.java:213) at org.apache.activemq.artemis.cli.commands.messages.perf.PerfClientCommand.onExecuteBenchmark(PerfClientCommand.java:167) at org.apache.activemq.cli.test.CliPerfClientTest$1.onExecuteBenchmark(CliPerfClientTest.java:66) at org.apache.activemq.artemis.cli.commands.messages.perf.PerfCommand.execute(PerfCommand.java:79) at org.apache.activemq.cli.test.CliPerfClientTest.start(CliPerfClientTest.java:69) at org.apache.activemq.cli.test.CliPerfClientTest.testDurableStarts(CliPerfClientTest.java:79)
Non-durable method works fine.
See the attached test file or https://github.com/jsmucr/activemq-artemis/tree/perf-client-durable.