summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-07-17 02:06:50 +0000
committerAlan Conway <aconway@apache.org>2008-07-17 02:06:50 +0000
commit37103322e9fd5889bc2d412b64bb21eb8743391b (patch)
tree8d7c3ece2071d0b2ec4658f6f149322d3e5337fa /cpp/src/qpid/cluster/Cluster.cpp
parente65b0086a2924ff04640b1350393a816249d01b3 (diff)
downloadqpid-python-37103322e9fd5889bc2d412b64bb21eb8743391b.tar.gz
Enable dequeue for prototype cluster
- qpid/broker/SemanticState.cpp: moved doOutput into write idle callback. - qpid/broker/Connection.cpp: make doOutput an intercept point. - qpid/cluster/*: intercept doOutput to serialize output in cluster thread. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677486 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 3b7f32e822..6623d1cde0 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -208,6 +208,10 @@ void Cluster::handleMethod(Id from, ConnectionInterceptor* connection, AMQMethod
connection->deliverClosed();
break;
}
+ case CLUSTER_CONNECTION_DO_OUTPUT_METHOD_ID: {
+ connection->deliverDoOutput();
+ break;
+ }
default:
assert(0);
}