[
https://issues.jboss.org/browse/WFLY-6970?page=com.atlassian.jira.plugin....
]
Brian Stansberry resolved WFLY-6970.
------------------------------------
Resolution: Cannot Reproduce
Works for me:
{code}
$ dist/target/wildfly-10.1.0.Final-SNAPSHOT/bin/jboss-cli.sh -c
[standalone@localhost:9990 /] jms-queue add --queue-address=myQueue
--entries=queues/myQueue
[standalone@localhost:9990 /] cd
subsystem=messaging-activemq/server=default/jms-queue=myQueue
[standalone@localhost:9990 jms-queue=myQueue] ls -l
ATTRIBUTE VALUE TYPE
consumer-count 0 INT
dead-letter-address jms.queue.DLQ STRING
delivering-count 0 INT
durable true BOOLEAN
entries ["queues/myQueue"] LIST
expiry-address jms.queue.ExpiryQueue STRING
legacy-entries undefined LIST
message-count 0 LONG
messages-added 0 LONG
paused false BOOLEAN
queue-address jms.queue.myQueue STRING
scheduled-count 0 LONG
selector undefined STRING
temporary false BOOLEAN
{code}
For that to work or even for the low level /subsystem-messaging-activemq/.../:add op you
posted to work, you need to launch WildFly using a standalone.xml variant that includes
the messaging-activemq extension. For example the standard standalone-full.xml and
standalone-full-ha.xml configs. If you just use the standalone.xml we ship you get this:
{code}
[standalone@localhost:9990 /] jms-queue add --queue-address=myQueue
--entries=queues/myQueue
Unexpected command 'jms-queue add --queue-address=myQueue
--entries=queues/myQueue'. Type 'help --commands' for the list of supported
commands.
[standalone@localhost:9990 /]
/subsystem=messaging-activemq/server=default/jms-queue=TestQ/:add(entries=["java:/jboss/exported/jms/queue/TestQ"])
Failed to get the list of the operation properties: "WFLYCTL0030: No resource
definition is registered for address [
("subsystem" => "messaging-activemq"),
("server" => "default"),
("jms-queue" => "TestQ")
]"
{code}
JMS Queue creation is wrong
----------------------------
Key: WFLY-6970
URL:
https://issues.jboss.org/browse/WFLY-6970
Project: WildFly
Issue Type: Bug
Components: CLI, Documentation, JMS
Affects Versions: 10.0.0.Final
Environment:
https://docs.jboss.org/author/display/WFLY10/Messaging+configuration
Reporter: Rajitha Gunawardhane
Priority: Critical
Labels: JMS
related link:
https://docs.jboss.org/author/display/WFLY10/Messaging+configuration
jms-queue add --queue-address=myQueue --entries=queues/myQueue
above command is not working
Following one is working
/subsystem=messaging-activemq/server=default/jms-queue=TestQ/:add(entries=["java:/jboss/exported/jms/queue/TestQ"])
http://middlewaremagic.com/jboss/?p=2739 has a better explanation for Wildfly
10.0.0.Final
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)