summaryrefslogtreecommitdiff
path: root/java/client
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2010-04-12 15:42:04 +0000
committerMartin Ritchie <ritchiem@apache.org>2010-04-12 15:42:04 +0000
commit483ab71751bc7c7cd8270ebf5ac30866b95972bd (patch)
tree66b635ad5684bcd7c842ef69dbc34d0f1994c36d /java/client
parent4cad92d5f3a8d2a14724c697f032bd98c8042e76 (diff)
downloadqpid-python-483ab71751bc7c7cd8270ebf5ac30866b95972bd.tar.gz
QPID-2346 : Addressed the problems with AcknowledgeAfterFailoverOnMessageTest, The issues were the same as AckAfterFailoverTest. So used same prepBroker approach. Test also need timeout increased as broke restarts took to long for a message to be sent/received. Finally the last change was thatthe queue needed to be re-declared so that the final queue depth check would have a queue to query.
Merged from 0.5.x-dev @ r907004 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQSession.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
index 49f94edef7..b5ad42d8e1 100644
--- a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
+++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
@@ -486,6 +486,12 @@ public abstract class AMQSession<C extends BasicMessageConsumer, P extends Basic
{
_queue = new FlowControllingBlockingQueue(_prefetchHighMark, null);
}
+
+ // Add creation logging to tie in with the existing close logging
+ if (_logger.isInfoEnabled())
+ {
+ _logger.info("Created session:" + this);
+ }
}
/**