I have done like this :
Consult the hz documentation to setup your client config.

<hz:client id="client">
        <hz:group password="mypw" name="myname"/>
        <hz:network>
            <hz:member>localhost:5701</hz:member>
            <hz:member>localhost:5702</hz:member>
        </hz:network>
    </hz:client>

    <hz:map id="schedule" name="schedule" instance-ref="client"/>       

   <bean id="hazelcast"
class="org.apache.camel.component.hazelcast.HazelcastComponent">
        <property name="hazelcastInstance" ref="client"/>
   </bean>

and then in the route you can do

<to uri="hazelcast:map:schedule" />     

Best,
Preben



--
View this message in context: 
http://camel.465427.n5.nabble.com/does-hazelcast-component-support-stand-alone-HC-server-tp5735586p5744240.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to