Claus Ibsen created CAMEL-25434:
-----------------------------------
Summary: camel-jbang - camel run does not record where a property
comes from, so camel get properties shows no location
Key: CAMEL-25434
URL: https://issues.apache.org/jira/browse/CAMEL-25434
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
In an integration run with camel run (JBang), the properties dev console has no
source or location for the properties loaded from application.properties: camel
get properties shows an empty LOCATION column, and the camel-jbang monitor's
Configuration tab an empty SOURCE column, on every row.
Reproduce: camel run routes.camel.yaml beans.yaml Greeter.java
application.properties (quick-start/routes of camel-jbang-examples), then camel
get properties:
{noformat}
PID NAME LOCATION KEY VALUE
2707 props-test greeter.gree… Hello
2707 props-test greeter.peri… 1000
{noformat}
Expected: the location of each value (application.properties, a profile file,
the command line with --prop, an environment variable, a default), as the
console reports for a value whose source is known. The properties are likely
loaded into the initial properties of camel-main without a location, so the
properties lookup listener has none to record.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)