diff options
| author | Alan Conway <aconway@apache.org> | 2008-10-20 19:37:06 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-10-20 19:37:06 +0000 |
| commit | e8f99e5859125f5a1a9ab89116946b76e822cb30 (patch) | |
| tree | fb978b3ef6383be8b51f1eba682bb77c36ad1421 /cpp/src/qpid/cluster/ClusterPlugin.cpp | |
| parent | 80064052ca9f0fda855da693215b4d18e2abea0c (diff) | |
| download | qpid-python-e8f99e5859125f5a1a9ab89116946b76e822cb30.tar.gz | |
cluster: DumpClient replicates session MessageBuilder.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/ClusterPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp index 14a666a1c6..9526a33ac6 100644 --- a/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -78,7 +78,7 @@ struct ClusterPlugin : public Plugin { if (values.name.empty()) return; // Only if --cluster-name option was specified. Broker* broker = dynamic_cast<Broker*>(&target); if (!broker) return; - cluster = new Cluster(values.name, values.getUrl(broker->getPort()), *broker); + cluster = new Cluster(values.name, values.getUrl(broker->getPort(Broker::TCP_TRANSPORT)), *broker); broker->setConnectionFactory( boost::shared_ptr<sys::ConnectionCodec::Factory>( new ConnectionCodec::Factory(broker->getConnectionFactory(), *cluster))); |
