From bf74286e6a5eba055fd8bf9410c325205b8595d5 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 17 Nov 2006 11:03:22 +0000 Subject: Some fixes and tests for bugs uncovered during testing of persistence. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476108 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Channel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/broker/Channel.cpp') diff --git a/cpp/src/qpid/broker/Channel.cpp b/cpp/src/qpid/broker/Channel.cpp index f52d9ab8c7..f3624b4f3d 100644 --- a/cpp/src/qpid/broker/Channel.cpp +++ b/cpp/src/qpid/broker/Channel.cpp @@ -87,6 +87,8 @@ void Channel::close(){ for(consumer_iterator i = consumers.begin(); i != consumers.end(); i = consumers.begin() ){ cancel(i); } + //requeue: + recover(true); } void Channel::begin(){ -- cgit v1.2.1