Re: Custom component : route not completing on second call

2022-09-28 Thread Claudio Miranda
On Tue, Sep 27, 2022 at 3:45 AM Stefan Kok wrote: > > I have listed snippets of the relevant code below. At present, the > first call to the code will return the correct result. However, on Would it be possible to share this code as a project to build and run ? This way, more people feel easie

AW: Load a route from Blueprint XML

2022-09-28 Thread Domke, Alexander
Hi Raymond, thanks for pointing out that the Camel context needs to be started first. That definitely got me started. In order for the routes to load, they must have the Spring namespace. Here is the solution: private void loadRoute(File scriptFile, OsgiDefaultCamelContext camelContext) { t