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
-
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:
storage
in classCollectorComponent.Builder
-
sampler
- Specified by:
sampler
in classCollectorComponent.Builder
-
metrics
- Specified by:
metrics
in 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:
build
in classCollectorComponent.Builder
-