I try to use the JBoss CLI (on RedHat JBoss EAP 7.4-5) to add a cluster connection in the messaging subsystem via the following CLI command:
/subsystem=messaging-activemq/server=default/cluster-connection=jmscluster:add(address=jms, connector-name=http-connector, discovery-group=dg-group1)
I get the following answer:
ERROR [org.jboss.as.cli.CommandContext] {
"outcome" => "failed",
"failure-description" => "WFLYCTL0387: Illegal path address 'jms' , it is not in a correct CLI format"
}
All I found about the address in the JBoss documentation - 29.2 Server-side Message Load Balancing:
"In the case shown above the cluster connection will load balance messages sent to addresses that start with "jms". This cluster connection will, in effect, apply to all Jakarta Messaging queues and topics since they map to core queues that start with the substring "jms"."
Does anybody can tell me what the correct CLI format for the path address would look like?
Any help is highly appreciated. Thanks in advance!
You should be using
cluster-connection-addressinstead ofaddress, e.g.:If you just type this much:
And the press the "Tab" key you'll see a list of all the supported attributes, e.g.: