[ 
https://issues.apache.org/jira/browse/CAMEL-18251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-18251.
---------------------------------
    Resolution: Fixed

> camel-jbang - Using microprofile-metrics should setup registry if none found
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-18251
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18251
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.18.0
>
>
> So you can quickly try and run 
>             uri: microprofile-metrics:counter:messages
> And not have an error
> Caused by: java.lang.IllegalStateException: No usable MetricRegistry has been 
> configured
>       at 
> org.apache.camel.component.microprofile.metrics.MicroProfileMetricsHelper.getMetricRegistry(MicroProfileMetricsHelper.java:112)
>       at 
> org.apache.camel.component.microprofile.metrics.MicroProfileMetricsComponent.createEndpoint(MicroProfileMetricsComponent.java:39)
>       at 
> org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
>       at 
> org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:951)



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

Reply via email to