Skip to content

Rethink configuration overrides #14

@rkrzewski

Description

@rkrzewski

In the current implementation, a bundle that uses Akka by pulling an ActorSytem service from OSGi registry is getting only the configuration aggregated from .conf files on it's classpath through ActorSystem.settings.conf. The underlying ActorSystem instance is getting user defined override (provided through ConfigurationAdmin) over configuration defined on akka-actor bundle.

The user defined configuration for Spray bundle is used for initializing the HTTP listener, but is not visible to 3rd party bundles that define Spray routes for example. The route defining logic is reading routing default settings from ActorSystem.settings.conf, which makes it impossible to override.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions