Package zipkin2.collector.activemq
Class ActiveMQCollector.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
zipkin2.collector.activemq.ActiveMQCollector.Builder
- Enclosing class:
- ActiveMQCollector
public static final class ActiveMQCollector.Builder extends CollectorComponent.Builder
Configuration including defaults needed to consume spans from a ActiveMQ queue.
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ActiveMQCollectorbuild()ActiveMQCollector.Builderconcurrency(int concurrency)Count of concurrent message listeners on the queue.ActiveMQCollector.BuilderconnectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)ActiveMQCollector.Buildermetrics(CollectorMetrics metrics)ActiveMQCollector.Builderqueue(String queue)Queue zipkin spans will be consumed from.ActiveMQCollector.Buildersampler(CollectorSampler sampler)ActiveMQCollector.Builderstorage(StorageComponent storage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storage
- Specified by:
storagein classCollectorComponent.Builder
-
sampler
- Specified by:
samplerin classCollectorComponent.Builder
-
metrics
- Specified by:
metricsin classCollectorComponent.Builder
-
connectionFactory
public ActiveMQCollector.Builder connectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory) -
queue
Queue zipkin spans will be consumed from. Defaults to "zipkin". -
concurrency
Count of concurrent message listeners on the queue. Defaults to 1 -
build
- Specified by:
buildin classCollectorComponent.Builder
-