[jboss-jira] [JBoss JIRA] (AS7-5819) Cannot read HornetQ durable subscriptions using Jboss AS 7 CLI

Florin Slev (JIRA) jira-events at lists.jboss.org
Tue Oct 23 09:12:01 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florin Slev updated AS7-5819:
-----------------------------

    Description: 
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:

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.


  was:
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:

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=testTopic2: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.



    
> Cannot read HornetQ durable subscriptions using Jboss AS 7 CLI
> --------------------------------------------------------------
>
>                 Key: AS7-5819
>                 URL: https://issues.jboss.org/browse/AS7-5819
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Florin Slev
>            Assignee: Alexey Loubyansky
>
> 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:
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list