Share endpoint between services in IceBox

in Help Center
Hi.
I played with my custom IceBox for python to host multiple python services and found out that in config file i need to put separate endpoints for every service, ie for every service on localhost i put different port number.
Is it possible in IceBox, in general, to have one endpoint shared between all services?
Thanks.
I played with my custom IceBox for python to host multiple python services and found out that in config file i need to put separate endpoints for every service, ie for every service on localhost i put different port number.
Is it possible in IceBox, in general, to have one endpoint shared between all services?
Thanks.
0
Comments
It would be possible for two IceBox services to share an endpoint, but only if the services cooperated with one another to share a single object adapter instance (since object adapters own the endpoints). This would certainly not be a typical use case for IceBox. Even if several services were configured to share a single communicator, each service would normally create its own object adapter and therefore get its own endpoint.
Why do you want to use only one endpoint?
Take care,
- Mark
Sharing a single object adapter instance - that's what i had in mind and actually played a bit with it, no luck so far - but i think i make some misconfiguration.
From perspective that multiple services may complement each other and actually form the single application from the user's point of view it seems logical(at least for me