paul-mcculloch opened a new issue, #567:
URL: https://github.com/apache/camel-karaf/issues/567

   [Originally logged as  https://issues.apache.org/jira/browse/CAMEL-20184 but 
closed with instructions to log here]
   
   The call to init() was added in 3.1 (and is still present in 4.8.1) with the 
comment "OsgiDefaultCamelContext should init like camel-blueprint does" 
(https://github.com/apache/camel/commit/a1c4b82a31108cd23409d0ee6ca4edc5b809b291)
   
   At that time that was the case. However in 3.2 the Blueprint context was 
changed to use build() 
(https://github.com/apache/camel-karaf/commit/bb1f5042042fbb3e122cb533eddbc3207c3d8efe)
   
   No equaivalent change was made to OsgiDefaultCamelContext.
   
   The symptoms are that routes dont't get added to the context in some 
circumstances. In my case I was trying to use a local copy of 
https://github.com/apache/camel/blob/camel-2.x/components/camel-scr/src/main/java/org/apache/camel/scr/AbstractCamelRunner.java
 too migrate a 2.x project to 3.x. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to