Author: eae Date: Wed May 1 18:04:42 2013 New Revision: 1478128 URL: http://svn.apache.org/r1478128 Log: Note server IP address that replied to getmeta
Modified: uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/examples/as/GetMetaRequest.java Modified: uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/examples/as/GetMetaRequest.java URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/examples/as/GetMetaRequest.java?rev=1478128&r1=1478127&r2=1478128&view=diff ============================================================================== --- uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/examples/as/GetMetaRequest.java (original) +++ uima/uima-as/trunk/uimaj-as-activemq/src/main/java/org/apache/uima/examples/as/GetMetaRequest.java Wed May 1 18:04:42 2013 @@ -169,7 +169,8 @@ public class GetMetaRequest { System.out.println("Waiting for getMeta reply..."); ActiveMQTextMessage reply = (ActiveMQTextMessage) consumer.receive(); long waitTime = (System.nanoTime() - startTime)/1000000; - System.out.println("Reply received in " + waitTime + " ms"); + + System.out.println("Reply from "+reply.getStringProperty("ServerIP")+" received in " + waitTime + " ms"); if (printReply) { System.out.println("Reply MessageText: " + reply.getText()); }