Package zipkin2.collector.activemq
Class ActiveMQCollector.Builder
java.lang.Object
zipkin2.collector.CollectorComponent.Builder
zipkin2.collector.activemq.ActiveMQCollector.Builder
- Enclosing class:
- ActiveMQCollector
Configuration including defaults needed to consume spans from a ActiveMQ queue.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()concurrency(int concurrency) Count of concurrent message listeners on the queue.connectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory) metrics(CollectorMetrics metrics) Queue zipkin spans will be consumed from.sampler(CollectorSampler sampler) storage(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
-