[jboss-jira] [JBoss JIRA] (AS7-4956) Deployed JMS destinations are not manageable

Jeff Mesnil (JIRA) jira-events at lists.jboss.org
Fri Jul 13 05:04:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705835#comment-12705835 ] 

Jeff Mesnil edited comment on AS7-4956 at 7/13/12 5:03 AM:
-----------------------------------------------------------

In fact, I was not looking at the right place: deployed JMS destinations *are* manageable but they are under the tree of the deployed archive:

{noformat}
[standalone at localhost:9999 /] /deployment=jboss-as-helloworld-mdb.war/subsystem=messaging/hornetq-server=default/jms-queue=HELLOWORLDMDBQueue:read-resource(include-runtime=true)
{
    "outcome" => "success",
    "result" => {
        "consumer-count" => 0,
        "dead-letter-address" => "jms.queue.DLQ",
        "delivering-count" => 0,
        "durable" => undefined,
        "entries" => ["/queue/HELLOWORLDMDBQueue"],
    ...
} 
{noformat}

Their attributes are declared as runtime read-only (as expected).
                
      was (Author: jmesnil):
    In fact, I was not looking at the right place: deployed JMS destinations *are* manageable but they are under the tree of the deployed archive:

[standalone at localhost:9999 /] /deployment=jboss-as-helloworld-mdb.war/subsystem=messaging/hornetq-server=default/jms-queue=HELLOWORLDMDBQueue:read-resource(include-runtime=true)
{
    "outcome" => "success",
    "result" => {
        "consumer-count" => 0,
        "dead-letter-address" => "jms.queue.DLQ",
        "delivering-count" => 0,
        "durable" => undefined,
        "entries" => ["/queue/HELLOWORLDMDBQueue"],
    ...
} 

Their attributes are declared as runtime read-only (as expected).
                  
> Deployed JMS destinations are not manageable
> --------------------------------------------
>
>                 Key: AS7-4956
>                 URL: https://issues.jboss.org/browse/AS7-4956
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>
> 1.deploy the helloworld-mdb quickstart
> => this deploys a HELLOWORLDMDBQueue JMS Queue from its webapp/WEB-INF/hornetq-jms.xml
> 2. this JMS queue is not exposed in the admin CLI or web console
> $ ./bin/jboss-cli.sh --connect
> [standalone at localhost:9999 /] /subsystem=messaging/hornetq-server=default/jms-queue=HELLOWORLDMDBQueue:read-resource
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014807: Management resource '[
>     (\"subsystem\" => \"messaging\"),
>     (\"hornetq-server\" => \"default\"),
>     (\"jms-queue\" => \"HELLOWORLDMDBQueue\")
> ]' not found",
>     "rolled-back" => true
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list