Skip to content

seijoed/hazelcast-discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hazelcast-discovery

ActiveMQ : Hazelcast discovery module

Drop the hazelcast discovery jar in the lib dir.

configure a network connector.

On the "master" <-- The master could be anything running HazelCast or execute the JAR file directly for a stand-alone master.

Configuration can be provided in cluster.properties.

    port=5009
    address=0.0.0.0
    clusterName=AMQ
    members= <Comma separated list>

        <networkConnectors>
          <networkConnector uri="hazelcast://localhost?port=5009&amp;service=tcp://127.0.0.1:61616"
            dynamicOnly="false"
            networkTTL="3"
            prefetchSize="1"
            decreaseNetworkConsumerPriority="true" />
        </networkConnectors>

On the other nodes (The parent is the "creator" of the HazelCast instance)

        <networkConnectors>
          <networkConnector uri="hazelcast://localhost?port=5010&amp;parents=localhost:5009&amp;service=tcp://127.0.0.1:61617"
            dynamicOnly="false"
            networkTTL="3"
            prefetchSize="1"
            decreaseNetworkConsumerPriority="true" />
        </networkConnectors>

About

ActiveMQ : Hazelcast discovery module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages