Hi,

You can use HazelcastAgent method getUniqueIdForTheNode() for this. It's in
the latest code in git [1].
@Sewwandi correct me if I'm wrong.

[1]
https://github.com/wso2-dev/andes/blob/master/modules/andes-core/broker/src/main/java/org/wso2/andes/server/cluster/coordination/hazelcast/HazelcastAgent.java

On Sat, Sep 13, 2014 at 9:23 AM, Nipuna Shanthidewa <nip...@wso2.com> wrote:

>
> we want to uniquely identify current server node in MB among other nodes
> we are going to use  IP address and port number for that.Is there any
> better option than this ?
>
> Thanks
> --
> Nipuna Shanthidewa
>
> Software Engineering Intern
> WSO2 Inc.
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Asitha Nanayakkara*
Software Engineer
WSO2, Inc. http://wso2.com/
Mob: + 94 77 85 30 682
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to