Skip to content

IceGrid object adapter registration #19

Open
@iivdam

Description

@iivdam

Hi,

I'm experimenting with DataStorm and IceGrid. If I use DataStorm with IceGrid I have to enable IceGrid.Registry.DynamicRegistration because DataStrom creates an object adapter with an UUID and the AdapterId proprerty set (src\DataStorm\Instance.cpp line 99)
// // Create a collocated object adapter with a random name to prevent user configuration // of the adapter. // auto collocated = IceUtil::generateUUID(); properties->setProperty(collocated + ".AdapterId", collocated); _collocatedAdapter = _communicator->createObjectAdapter(collocated);

Ik think this is undesirable behavior, the locator for this object adapter must be nullified.
auto collocated = IceUtil::generateUUID(); properties->setProperty(collocated + ".AdapterId", collocated); _collocatedAdapter = _communicator->createObjectAdapter(collocated); _collocatedAdapter ->setLocator(0);

Cheers,
Emko

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions