Skip to content

Commit

Permalink
Add reference to WELD-2083
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Dec 24, 2015
1 parent fb82805 commit d3f327a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class MetricsCdiConfig {
@Produces
@Singleton
@Named(MetricsComponent.METRIC_REGISTRY_NAME)
// FIXME: to be removed when Camel Metrics component looks up for the Metrics registry by type only
MetricRegistry registry = new MetricRegistry();
// TODO: change to @ApplicationScoped when WELD-2083 is fixed, and remove when Camel Metrics component looks up for the Metrics registry by type only
MetricRegistry registry = new MetricRegistry();

static void configure(@Observes MetricsConfiguration config) {
config.useAbsoluteName(true);
Expand Down

0 comments on commit d3f327a

Please sign in to comment.