f2par0 opened a new pull request, #469:
URL: https://github.com/apache/camel-karaf/pull/469

   Fixes #468 
   - feature need dependency fix
   - integration test doesn't work with the current framework because the 
bundle camel-integration-test  which starts the route does not fails to start 
the route with cometd because it dynamically loads transport classes which are 
in the cometd dependencies.
   To overcome this issues, the comted integration test bundle is packaged as a 
fragment of camel-integration-test and alters it's `Import-Package` section to 
add the necessary dependencies to the route.
   Since it's a fragment, the Supplier registration doesn't work, so I added a 
mechanism where the RouteLoader tries to read a specific system property 
(`supplier-class`) to load the supplier class. In case it's set, it loads it an 
populate the route. This allows, when  `update` is called on the host bundle 
(`camel-integration-test`) to discover the cometd route supplier.


-- 
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

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

Reply via email to