You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2022/05/10 15:24:00 UTC
[jira] [Created] (CAMEL-18092) Support reload with Camel JBang with files specified with a specific path
Aurélien Pupier created CAMEL-18092:
---------------------------------------
Summary: Support reload with Camel JBang with files specified with a specific path
Key: CAMEL-18092
URL: https://issues.apache.org/jira/browse/CAMEL-18092
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Affects Versions: 3.16.0
Reporter: Aurélien Pupier
Given this route in subfolder src/main/java/org/acme/timer/log :
{noformat}
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 ");
}
}
{noformat}
when calling:
{noformat}
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{noformat}
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
--
This message was sent by Atlassian Jira
(v8.20.7#820007)