diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-09-05 15:58:21 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-09-05 15:58:21 +0000 |
commit | 9a06476f80dfab5b3a0497cdcabcc005a939f94e (patch) | |
tree | d6595a4ee4424f4a8939f03b19d1122d46714ef0 /cpp/src/IceStorm/Service.cpp | |
parent | Fix compilation error. (diff) | |
download | ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.tar.bz2 ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.tar.xz ice-9a06476f80dfab5b3a0497cdcabcc005a939f94e.zip |
Bug 1209
Diffstat (limited to 'cpp/src/IceStorm/Service.cpp')
-rw-r--r-- | cpp/src/IceStorm/Service.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/IceStorm/Service.cpp b/cpp/src/IceStorm/Service.cpp index 99210191015..0abd7201134 100644 --- a/cpp/src/IceStorm/Service.cpp +++ b/cpp/src/IceStorm/Service.cpp @@ -100,10 +100,11 @@ IceStorm::ServiceI::start(const string& name, // // We use the name of the service for the name of the database environment. // - string topicManagerId = properties->getPropertyWithDefault(name + ".InstanceName", "IceStorm") + "/TopicManager"; - Ice::Identity id = communicator->stringToIdentity(topicManagerId); + Identity topicManagerId; + topicManagerId.category = properties->getPropertyWithDefault(name + ".InstanceName", "IceStorm"); + topicManagerId.name = "TopicManager"; _manager = new TopicManagerI(communicator, _topicAdapter, _publishAdapter, traceLevels, name, "topics"); - _managerProxy = TopicManagerPrx::uncheckedCast(_topicAdapter->add(_manager, id)); + _managerProxy = TopicManagerPrx::uncheckedCast(_topicAdapter->add(_manager, topicManagerId)); _topicAdapter->activate(); _publishAdapter->activate(); |