Commit bf01f4a4 authored by Shirley Crompton's avatar Shirley Crompton
Browse files

quorum patch - moved camelId etc objects outside the while loop in

server to ensure that the camel id is cached and we can process the
incoming metrics from the metrics-collector.
parent 3e95e178
......@@ -108,12 +108,12 @@ public class MetasolverZMQServer {
//poller.register(simSub, Poller.POLLIN); //7
//
InformationStorage infos = new InformationStorage();
String camelId = ""; //11Feb16 Geir says it is static // CP: Hum, no
String cpModelId = "";
String cpDirId = "";
String topic = "";
//
while(!Thread.currentThread().isInterrupted()){
String camelId = ""; //11Feb16 Geir says it is static // CP: Hum, no
String cpModelId = "";
String cpDirId = "";
String topic = "";
while(!Thread.currentThread().isInterrupted()){
try{
poller.poll();
logger.debug("starting polling for messages.... ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment