[
https://issues.jboss.org/browse/AS7-4956?page=com.atlassian.jira.plugin.s...
]
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@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@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@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