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

Consumer command, clientID is not saved during JMS exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • AMQ 7.4.1.GA
    • AMQ 7.3.0.GA
    • broker-core
    • None

      clientID is not saved during JMS exception

      [shsingh@shsingh bin]$ ./artemis consumer --destination topic://Multicast --message-count 10 --clientID test_Demo --durable
      Consumer:: filter = null
      Consumer:: clientID = test_Demo
      Connection failed::AMQ229031: Unable to validate user from /127.0.0.1:46362. Username: null; SSL certificate subject DN: unavailable
      
      --user: is a mandatory property!
      Type the username for a retry
      admin
      
      --password: is mandatory with this configuration:
      Type the password for a retry
      
      Consumer ActiveMQTopic[Multicast], thread=0 wait until 10 messages are consumed
      javax.jms.IllegalStateException: Cannot create durable subscription - client ID has not been set
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createConsumer(ActiveMQSession.java:848)
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:583)
      	at org.apache.activemq.artemis.jms.client.ActiveMQSession.createDurableSubscriber(ActiveMQSession.java:557)
      	at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.consume(ConsumerThread.java:171)
      	at org.apache.activemq.artemis.cli.commands.messages.ConsumerThread.run(ConsumerThread.java:67)
      Consumer ActiveMQTopic[Multicast], thread=0 Consumer thread finished
      

              rhn-support-shsingh Shailendra Singh
              rhn-support-shsingh Shailendra Singh
              Michal Toth Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: