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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.