A newer version of Platform is available.

View latest

Configuring Hazelcast in Spring

If you use Hazelcast with Spring you can declare beans using the namespace hazelcast. When you add the namespace declaration to the element beans in the Spring context file, you can start to use the namespace shortcut hz to be used as a bean declaration. Following is an example Hazelcast configuration when integrated with Spring:

<hz:hazelcast id="instance">
        <hz:cluster-name name="dev"/>
        <hz:network port="5701" port-auto-increment="false">
                <hz:multicast enabled="false"/>
                <hz:tcp-ip enabled="true">

See the Integration with Spring section for more information about Hazelcast-Spring integration.