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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveMQCollector
build()
ActiveMQCollector.Builder
concurrency(int concurrency)
Count of concurrent message listeners on the queue.ActiveMQCollector.Builder
connectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)
ActiveMQCollector.Builder
metrics(CollectorMetrics metrics)
ActiveMQCollector.Builder
queue(java.lang.String queue)
Queue zipkin spans will be consumed from.ActiveMQCollector.Builder
sampler(CollectorSampler sampler)
ActiveMQCollector.Builder
storage(StorageComponent storage)
-
-
-
Method Detail
-
storage
public ActiveMQCollector.Builder storage(StorageComponent storage)
- Specified by:
storage
in classCollectorComponent.Builder
-
sampler
public ActiveMQCollector.Builder sampler(CollectorSampler sampler)
- Specified by:
sampler
in classCollectorComponent.Builder
-
metrics
public ActiveMQCollector.Builder metrics(CollectorMetrics metrics)
- Specified by:
metrics
in classCollectorComponent.Builder
-
connectionFactory
public ActiveMQCollector.Builder connectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)
-
queue
public ActiveMQCollector.Builder queue(java.lang.String queue)
Queue zipkin spans will be consumed from. Defaults to "zipkin".
-
concurrency
public ActiveMQCollector.Builder concurrency(int concurrency)
Count of concurrent message listeners on the queue. Defaults to 1
-
build
public ActiveMQCollector build()
- Specified by:
build
in classCollectorComponent.Builder
-
-