Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.16.0
-
None
-
Unknown
Description
Given this route in subfolder src/main/java/org/acme/timer/log :
package org.acme.timer.log; import org.apache.camel.builder.RouteBuilder; public class TimerRoute extends RouteBuilder { @Override public void configure() throws Exception { from("timer:foo?period=1000") .log("Hello World a first time") .log("Helloss World a second time - modified "); } }
when calling:
jbang -Dcamel.jbang.version=3.17.0-SNAPSHOT camel@apache/camel run src/main/java/org/acme/timer/log/TimerRoute.java --logging-level=info --reload --dep=org.apache.camel:camel-debug
when modifying the route and saving it, the route is not restarted.
Given that the file path has been provided, the reload shoudl be able to watch for it even if it is in a subfolder