Tadayoshi Sato created CAMEL-22828:
--------------------------------------

             Summary: camel-main - 
camel.main.endpoint-runtime-statistics-enabled not working since Camel 4.5
                 Key: CAMEL-22828
                 URL: https://issues.apache.org/jira/browse/CAMEL-22828
             Project: Camel
          Issue Type: Bug
          Components: camel-main
    Affects Versions: 4.16.0
            Reporter: Tadayoshi Sato


The following {{application.properties}} takes effect with Camel JBang (Camel 
4.4.5), but it doesn't with later versions including the latest 4.16.0.
{code}
camel.main.endpoint-runtime-statistics-enabled=true
camel.main.jmx-management-statistics-level=Extended

# This prop just works even with 4.16.0
camel.main.inflight-repository-browse-enabled=true
{code}

Camel 4.4.5 shows the following log entry, whereas Camel 4.16.0 doesn't.
{code}
$ camel run hello.yaml
{code}
{code}
Registered MBean with ObjectName: 
org.apache.camel:context=hello,type=services,name=DefaultEndpointRegistry
2026-01-08 21:35:32.421 DEBUG 2680 --- [           main] 
l.management.DefaultManagementAgent : Registered MBean with ObjectName: 
org.apache.camel:context=hello,type=services,name=DefaultRuntimeEndpointRegistry
{code}

I have an impression that the camel-main harmonisation with CAMEL-20524 at 
4.5.0 has something to do with this issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to