Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6988

artemis perf client --durable fails on exception

XMLWordPrintable

    • 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.

            dbruscin Domenico Francesco Bruscino
            rh-messaging-ci Messaging CI
            Samuel Gajdos Samuel Gajdos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: