OK. You have to reduce the timeout (grace period) on the camel shutdown 
strategy or increase blueprint timeout.

Did you try this ?

Regards
JB

> Le 2 déc. 2020 à 16:11, michael e <michaelel...@outlook.fr> a écrit :
> 
> I wasn't aware about this timeout configuration (is not a simple service but 
> a camel context) 
> 
> Michael.
> 
> De : michael e <michaelel...@outlook.fr>
> Envoyé : mercredi 2 décembre 2020 16:04
> À : user@karaf.apache.org <user@karaf.apache.org>
> Objet : RE: org.osgi.service.blueprint.container.NoSuchComponentException: No 
> component with id 'blueprintBundle' could be found
>  
> Hello JB,
> 
> Thanks for your response, i'm sorry i poste the wrong camel ticket (by the 
> way i think claus already take care about this issue).
> 
> The ticket https://issues.apache.org/jira/browse/CAMEL-15760 
> <https://issues.apache.org/jira/browse/CAMEL-15760>
> 
> Michael.
> 
> De : Jean-Baptiste Onofre <j...@nanthrax.net>
> Envoyé : mercredi 2 décembre 2020 16:00
> À : user@karaf.apache.org <user@karaf.apache.org>
> Objet : Re: org.osgi.service.blueprint.container.NoSuchComponentException: No 
> component with id 'blueprintBundle' could be found
>  
> Hmm, it seems a mistake in the configuration between the blueprint timeout 
> and the Camel Shutdown strategy, no ?
> 
> Do you consider this as a bug ?
> 
> Regards
> JB
> 
>> Le 2 déc. 2020 à 15:01, michael e <michaelel...@outlook.fr 
>> <mailto:michaelel...@outlook.fr>> a écrit :
>> 
>> Hello,
>> 
>> When i stop camel bundle using blueprint i get this 
>> org.osgi.service.blueprint.container.NoSuchComponentException: No component 
>> with id 'blueprintBundle' could be found
>> Karaf version is 4.3.0
>> camel-blueprint is 3.1.0
>> 
>> Related discussion:
>> 
>> https://issues.apache.org/jira/browse/CAMEL-14332 
>> <https://issues.apache.org/jira/browse/CAMEL-14332>
>> [CAMEL-14332] camel-blueprint - Camel route does not consider the value of 
>> ShutdownStrategy timeout. - ASF JIRA 
>> <https://issues.apache.org/jira/browse/CAMEL-14332>
>> So when the Shutdown strategy timeout is longer than one minute, the 
>> BlueprintEventDispatcher timeout is triggered for first, making the shutdown 
>> strategy useless.. The solution to this, is to remove the piece of code that 
>> handle the destroy event from BlueprintCamelContext.
>> issues.apache.org <http://issues.apache.org/>
>> Regards,
>> Michael.

Reply via email to