SubhasmitaSw edited a comment on pull request #3152:
URL: https://github.com/apache/camel-k/pull/3152#issuecomment-1083128202
I hope this looks fine now
```
import org.apache.camel.builder.RouteBuilder;
public class ServiceMonitor extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:tick")
.setHeader("example")
.constant("Hello Camel K!")
.to("log:info");
}
}
```
and to test it if its working i tried to run using
`kamel run -t Hello.java prometheus.enabled=true`
However, I'm receiving an issue that I don't seem to understand right now.
`Error: cannot read sources: cannot read sources: missing file or
unsupported scheme in prometheus.enabled=true`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]