Skip to content

Making IceStorm topic/publisher endpoints explicit #1519

Answered by bernardnormier
tweewo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Erik,

  1. Can I somehow configure the TopicManager to send out explicit endpoints?

Yes, but not with this approach.

When you set PublishedEndpoints on an indirect object adapter (and all object adapters configured with an IceGrid adapter descriptor are indirect), you configure the endpoints that the object adapter registers with IceGrid upon activation. These endpoints are then returned when you resolve the adapter ID with IceGrid.

When you call create on your TopicManager, it returns a proxy created with "createProxy":

prx = _instance->topicAdapter()->createProxy(_id);

This proxy is an indirect proxy when the object…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tweewo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants