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

For Artemis Cli, allow to configure the subscription-name for durable subscription

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • AMQ 7.14.0.GA
    • None
    • None
    • None

      for topic durable subscription, the artemis cli will create a queue name:
      "client1.Consumer ActiveMQTopic[my\.multicast\.destination], thread=0"
      because it is the <CLIENT_ID>.<SUBSCRIPTION_NAME>

      Currently, artemis consumer command use its thread name to set the SUBSCTIPTION_NAME, see https://github.com/apache/activemq-artemis/blob/2.44.0/artemis-cli/src/main/java/o[…]ache/activemq/artemis/cli/commands/messages/ConsumerThread.java

      The thread name is set in the constructor, see https://github.com/apache/activemq-artemis/blob/2.44.0/artemis-cli/src/main/java/o[…]ache/activemq/artemis/cli/commands/messages/ConsumerThread.java

      Allow either using the topic name or a flag to override this subscription name.

              rhn-support-tbish Tim Bish
              rhn-support-whui Roger Hui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: