How to configure cluster-connection with CLI in JBoss EAP 6?

Solution Unverified - Updated -

Issue

  • Is there a way to add the following cluster-connection with CLI :
<cluster-connection name="my-cluster">
    <address>jms</address>
    <connector-ref>netty</connector-ref>
    <static-connectors>
        <connector-ref>other-cluster-node1</connector-ref>
        <connector-ref>other-cluster-node2</connector-ref>
    </static-connectors>
</cluster-connection> 

I tried this command:

 /subsystem=messaging/hornetq-server=default/cluster-connection=cluster-momv4:write-attribute(static-connectors=["netty-noeud1","netty-noeud2"] 

and error is static-connectors is not found among the supported properties.
- Is there a way to add static-connector and remove discovery-group-ref in a cluster-connections already defined with CLI?

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