-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.1.2.Final (EAP)
-
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.