Hello Jose. Have you checked declarative services ? I suspect your use case is probably more easily achievable using a declarative service component. The component can be configured to start/stop (activate/deactivate) based on the presence of a configuration.
Regards, João Assunção Email: joao.assun...@exploitsys.com Mobile: +351 916968984 Phone: +351 211933149 Web: www.exploitsys.com On Mon, Jun 12, 2023 at 5:01 PM jose.garnica.lomeli < jose.garnica.lom...@protonmail.com> wrote: > Hello everyone, > > Currently I have some bundles in my karaf solution starting by default as > resolved, in just in specific scenarios when we need active them we execute > the command bundle:start <bundle> but we want a find a option to persisit > that configuration, to avoid re-start the bundle manually when the karaf > instance is restarted. > > > Maybe we can use a property file in the CFG file to save the status of > bundle(active or resolved) but I am not sure if this the best approach or > karaf provide a way to do it? > > > > Sent with Proton Mail <https://proton.me/> secure email. >