You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Andreas Junius <AJ...@internode.com.au> on 2012/02/01 06:21:41 UTC

How to force resolving of a bundle

Hello SMX-users,

Another question: how can I force re-resolving of an already resolved bundle? I tried both osgi:refresh and osgi:resolve but this didn't change anything.

I try to get an optional import resolved which I added later, but I don't want to restart the container itself (which solved the problem actually). Is this possible at all?

Cheers,
Andy

Re: How to force resolving of a bundle

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Andy (sorry for the mistake in your name in my previous e-mail),

osgi:refresh should do the stuff.

However, if the location changed, osgi:update is required.

Regards
JB

On 02/01/2012 06:21 AM, Andreas Junius wrote:
> Hello SMX-users,
>
> Another question: how can I force re-resolving of an already resolved bundle? I tried both osgi:refresh and osgi:resolve but this didn't change anything.
>
> I try to get an optional import resolved which I added later, but I don't want to restart the container itself (which solved the problem actually). Is this possible at all?
>
> Cheers,
> Andy

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com