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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • A-MQ 7.0.0.GA, AMQ 7.0.1.GA
    • None
    • AMQ Broker 7.1 Sprint 2

      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.

            rh-ee-ataylor Andy Taylor
            rhn-support-tmielke Torsten Mielke
            Sean Davey Sean Davey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: