You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rcbandit <pe...@gmail.com> on 2015/07/25 11:55:33 UTC
Bundles order of deployment
Hi, I have 7 bundles which i want to deploy in strict order. How I can
configure Karaf in which order o deploy the bundles?
--
View this message in context: http://karaf.922171.n3.nabble.com/Bundles-order-of-deployment-tp4041634.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Bundles order of deployment
Posted by Morgan Hautman <mo...@gmail.com>.
Hi,
Like JB already said, Make a feature ->
https://karaf.apache.org/manual/latest/users-guide/provisioning.html
There is a "start-level" for each bundle you can define.
Regards,
Morgan
On 2015-07-27 09:22, rcbandit wrote:
> Ok, I will try to use bundle start levels.
>
> Can you tell me how I can configure bundle start level at bundle activator.
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Bundles-order-of-deployment-tp4041634p4041665.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Bundles order of deployment
Posted by rcbandit <pe...@gmail.com>.
Ok, I will try to use bundle start levels.
Can you tell me how I can configure bundle start level at bundle activator.
--
View this message in context: http://karaf.922171.n3.nabble.com/Bundles-order-of-deployment-tp4041634p4041665.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Bundles order of deployment
Posted by Christian Schneider <ch...@die-schneider.net>.
That sounds a bit like a smell.
You might be able to do this with start levels butyou should check if
you can avoid such a strict ordering requirement.
Christian
Am 25.07.2015 um 11:55 schrieb rcbandit:
> Hi, I have 7 bundles which i want to deploy in strict order. How I can
> configure Karaf in which order o deploy the bundles?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Bundles-order-of-deployment-tp4041634.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Bundles order of deployment
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
You can play with features and transitive features: like this a feature
can depends to another feature, and you can manage the startup order.
An alternative would be to use start-level.
If you use the deploy folder, using a kar (packaging features), you can
define your startup order.
Regards
JB
On 07/25/2015 11:55 AM, rcbandit wrote:
> Hi, I have 7 bundles which i want to deploy in strict order. How I can
> configure Karaf in which order o deploy the bundles?
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Bundles-order-of-deployment-tp4041634.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com