Re: (Spring Boot) Stuffing fat jars & run-time route startup

2020-04-28 Thread Ron Cecchini
Never mind. I got it. Sorry about that... The first required adding a couple of in the parent POM and tweaking each submodule's camel-context.xml. The second required discovering (after a dozen Spring Boot + Camel apps) that SpringApplication.run() actually returns a ConfigurableApplicationC

Re: (Spring Boot) Stuffing fat jars & run-time route startup

2020-04-28 Thread Ralf Claussnitzer
Hi Ron, you could start the route right away together with the context (autostart). Or you simply obtain the context and call startRoute("processing"). But why all this deferred starting? Why not just start the route and send Exchanges whenever you want to process? If you need to control a

(Spring Boot) Stuffing fat jars & run-time route startup

2020-04-28 Thread Ron Cecchini
Hi, gang. I hope you’re all doing well. Two questions if I could. TL;DR: (so you can decide now if you want to hit since this is long...) 1. How to add a resource file from a Maven parent to a child’s fat (Spring Boot) JAR? 2. How to parse command line args and have the main() call SpringAp