Thanks for the reply Bernard.
I would like to keep the Default Router because I have other services the local server uses. I also have an IceGrid behind the Glacier2 router, so I would think that I would want to keep the default router. I have been able to get a proxy to the LocalFeed ( the Local IceStorm ), but I am not able to publish. It sounds to be like the topic manger is still routing. I see on the local IceStorm a routed remote address. Currently I am setting the local TopicManager's router to 0 and the publisher's router to 0.
Code:
IceStorm::TopicManagerPrx localMgr;
try
{
Ice::ObjectPrx base = communicator()->propertyToProxy("IceStorm.TopicManager.Proxy");
base = base->ice_router(0);
localMgr = IceStorm::TopicManagerPrx::checkedCast( base );
}
catch(...)
{
cerr << appName() << ": local feed invalid proxy catch" << endl;
return EXIT_FAILURE;
}
And
Code:
IceStorm::TopicPrx topic;
try
{
topic = localMgr->retrieve("theos");
}
catch(const IceStorm::NoSuchTopic&)
{
try
{
topic = localMgr->create("theos");
}
catch(const IceStorm::TopicExists&)
{
cerr << appName() << ": temporary failure. try again." << endl;
return EXIT_FAILURE;
}
}
Ice::ObjectPrx publisher = topic->getPublisher();
publisher = publisher->ice_router(0);
rtprx = ::TVS::RealTimeFeedPrx::uncheckedCast(publisher);