Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-776

Unable to run artmis consumer --durable --destination topic://foo

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.GA, AMQ 7.0.1.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Release:
    • Sprint:
      AMQ Broker 7.1 Sprint 2

      Description

      Am unable to run the command

      ./artemis consumer --destination topic://blah --durable
      

      as it gives me

      javax.jms.IllegalStateException: Cannot create durable subscription - client ID has not been set
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:714)
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:452)
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:426)
      	at org.apache.activemq.artemis.cli.commands.util.ConsumerThread.consume(ConsumerThread.java:140)
      	at org.apache.activemq.artemis.cli.commands.util.ConsumerThread.run(ConsumerThread.java:64)
      

      There currently seems no command line option available to set a client id when running artemis consumer.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  mielket Torsten Mielke
                  Tester:
                  Sean Davey
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: