Adding multiple 'param' elements in a connector via CLI
Issue
- CLI doesn't allow adding multiple "param" elements.
- The following command only adds the port paramerter:
[standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/connector=remote-jms:add(factory-class=org.hornetq.core.remoting.impl.netty.NettyConnectorFactory,param=[host=${hornetq.remoting.netty.host:server.dns.name}],param=[port=${hornetq.remoting.netty.host:5445}])
And this command fails due to duplicate resource:
[standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/connector=remote-jms:add(param=[host=${hornetq.remoting.netty.host:server.dns.name}])
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
