Hi Shadab Ali,
As the guys said, Karaf use both FileInstall and ConfigAdmin to load and
store properties from the etc folder. It's the easiest way to manage
your application configuration: you can use directly a ManagedService,
directly the ConfigAdmin server, or through blueprint.
You can also define more "low level" properties thanks to
etc/custom.properties (loaded by etc/system.properties).
Regards
JB
On 10/09/2013 08:54 AM, Ali, Mohammad wrote:
Hi,
I am migrating my application from felix to apache karaf. Currently I am
providing my application related properties such as database details etc
in system.properties. I want to use a saterate properties file say
myApp.properties for this.
Is there a way to make karaf read the myApp.properties and make these
properties available to bundles from karaf startup.
Any help will be highly appreciated.
Thanks & Regards,
Shadab Ali
This e-mail (and any attachments), is confidential and may be privileged. It
may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and
disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended
recipients must notify the sender immediately
by e-mail/phone & delete it from their system without making any copies or
disclosing it to a third person.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com