diff options
Diffstat (limited to 'cpp/src/qpid/broker/Broker.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Broker.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp index e53774740a..b88f1c6c6a 100644 --- a/cpp/src/qpid/broker/Broker.cpp +++ b/cpp/src/qpid/broker/Broker.cpp @@ -64,7 +64,8 @@ Broker::Options::Options(const std::string& name) : storeDir("/var"), storeAsync(false), enableMgmt(0), - mgmtPubInterval(10) + mgmtPubInterval(10), + ack(100) { addOptions() ("port,p", optValue(port,"PORT"), @@ -102,7 +103,8 @@ Broker::Broker(const Broker::Options& conf) : queues(store.get()), stagingThreshold(0), factory(*this), - dtxManager(store.get()) + dtxManager(store.get()), + sessionManager(conf.ack) { if(conf.enableMgmt){ managementAgent = ManagementAgent::shared_ptr (new ManagementAgent (conf.mgmtPubInterval)); |