Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5819

Cannot read HornetQ durable subscriptions using Jboss AS 7 CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.2.Final (EAP)
    • CLI
    • None

      Steps:

      1. Create a jms topic named: "TestTopic1".
      (HornetQ translation: core-address: "jms.topic.TestTopic1")

      2. Create some durable subscriptions for that topic using HornetQ core client classes (core-queues bounded to the core-address):

      session.createQueue("jms.topic.TestTopic1", "durable-subscription-1", true);
      session.createQueue("jms.topic.TestTopic1", "durable-subscription-2", true);

      3. a.) Using Jboss CLI, go to:

      /subsystem=messaging/hornetq-server=default/jms-topic=testTopic1:list-durable-subscriptions

      Actual:

      An error is shown:

      "outcome" => "failed",
      "failure-description" => "JBAS014749: Operation handler failed: Invalid character: j",
      "rolled-back" => true

      3. b.) OR:

      /subsystem=messaging/hornetq-server=default/jms-topic=testTopic1:list-durable-subscriptions-as-json

      Actual:

      {
      "outcome" => "success",
      "result" => "java.lang.IllegalArgumentException: Invalid message queue name: topic-subscription-1"
      }

      You cannot display any durable subscription. However if you repeat the above steps for non-durable subscriptions , everything works fine.

              jmesnil1@redhat.com Jeff Mesnil
              crytek Florin Slev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: