Skip to content

Commit

Permalink
Remove work-around for ARQ-2023 as it's fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Dec 21, 2016
1 parent 93b0f83 commit fb70acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions envs/ee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@

<!-- test dependencies -->

<!-- FIXME: should be removed when Weld EE Arquillian doesn't scan all classes -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core-xml</artifactId>
<version>${camel.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core-impl</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.apache.camel.component.metrics.MetricsConstants;
import org.apache.camel.management.event.CamelContextStartedEvent;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
Expand Down Expand Up @@ -96,8 +97,7 @@ Gauge<Double> successRatio(Meter generated, Meter success) {
}

@Produces
@Singleton
// TODO: change to @ApplicationScoped when ARQ-2023
@ApplicationScoped
Slf4jReporter reporter(MetricRegistry registry) {
return Slf4jReporter.forRegistry(registry)
.convertRatesTo(TimeUnit.SECONDS)
Expand Down

0 comments on commit fb70acc

Please sign in to comment.