add some more detailed logging

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@937308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-04-23 14:12:03 +00:00
parent f206410b3d
commit 36cc71d077
1 changed files with 3 additions and 3 deletions

View File

@ -110,9 +110,9 @@ public class AMQ2102Test extends CombinationTestSupport implements UncaughtExcep
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 CombinationTestSupport implements UncaughtExcep
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);
}