servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: Production deployment strategy...
Date Wed, 13 Jun 2012 15:35:52 GMT
I am not sure about stalling the start but
makes the blueprint context restart when the config is changed. So it 
will always reflect the newest config. In most cases this is good enough.

The config admin service always handles complete configs so it is more 
about the file than the property.


Am 13.06.2012 17:07, schrieb James Carman:
> I looked at Christian's tutorial here:
> However, I don't see anything that specifically says that the
> Blueprint container will not start until the configuration is
> provided.  Also, does this mean that the configuration file is there
> or that each property I try to reference is there?
> On Wed, Jun 13, 2012 at 11:00 AM, Achim Nierbeck
> <>  wrote:
>> Hi James,
>> you need to use managed Services via the Configuration Admin service.
>> Take a look at the blueprint documentation to find some more details
>> on how to create that.
>> Or take a look at some of those tutorials christian did. (I'm sure he
>> has a link in his signature :) )
>> regards, Achim
>> 2012/6/13 James Carman<>:
>>> On Tue, Jun 12, 2012 at 4:59 PM, Christian Schneider
>>> <>  wrote:
>>>> You probably use start levels to work around this. OSGi services and
>>>> blueprint should help you
>>>> with this. You can make sure bundles only start when required services or
>>>> configs are present.
>>> We actually don't mess with start levels.  Blueprint will put the
>>> bundle into the "Grace Period" until it finds everything it needs.
>>> However, I am intrigued by that last part there where you said I can
>>> tell BP to only start when required configs are present.  How do I
>>> stall the BP startup when configs aren't present?
>> --
>> Apache Karaf<>  Committer&  PMC
>> OPS4J Pax Web<>
>> Committer&  Project Lead
>> OPS4J Pax for Vaadin
>> <>  Commiter&  Project
>> Lead
>> blog<>

Christian Schneider

Open Source Architect
Talend Application Integration Division

View raw message