activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r937308 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java
Date Fri, 23 Apr 2010 14:12:03 GMT
Author: gtully
Date: Fri Apr 23 14:12:03 2010
New Revision: 937308

URL: http://svn.apache.org/viewvc?rev=937308&view=rev
Log:
add some more detailed logging

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java?rev=937308&r1=937307&r2=937308&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2102Test.java Fri
Apr 23 14:12:03 2010
@@ -110,9 +110,9 @@ public class AMQ2102Test extends Combina
                     reply.setJMSCorrelationID(textMessage.getJMSCorrelationID());
                     
                     producer.send(replyQueue, reply);
-                    debug("replied via " + replyQueue + " for message => " + textMessage.getText());
+                    debug("replied via " + replyQueue + " for message => " + textMessage.getText()
+ ", " + textMessage.getJMSMessageID());
                 } else {
-                    debug("no reply to message => " + textMessage.getText());
+                    debug("no reply to message => " + textMessage.getText() + ", " + textMessage.getJMSMessageID());
                 }
             } else {
                 error("Consumer cannot process " + message.getClass().getSimpleName());
@@ -349,7 +349,7 @@ public class AMQ2102Test extends Combina
                         TextMessage textReply = (TextMessage) reply;
                         synchronized (messageCount) {
                             try {
-                                debug("receive reply#" + messageCount.value + " " + textReply.getText());
+                                debug("receive reply#" + messageCount.value + " " + textReply.getText()
+ ", " + textReply.getJMSMessageID());
                             } catch (JMSException e) {
                                 error("Problem processing reply", e);
                             }



Mime
View raw message