Adding multiple 'param' elements in a connector via CLI

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content