how to get the SERVERPEERID from messaging-service. XML file ? do i need parsing the XML file? or is there any API those helps me to retrieve the same. Actually my requirement is to generate the unique id on different Application servers in clustering manner. application is deployed in cluster.
kindly help me.
yes application server is jbos 5.1. the system is deployed on 4 different servers. and requirement is to generate unique id across all servers. i have already generated random numbers for unique id ,as system is deployed on different servers i want to concatenate that server peer id with my generated number. bcz for every deployed system there would be a different serverpeerid. So API's are available to get serverpeer id from messaging-service. XML file ? do i need parsing the XML file?