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 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(String queue)
Queue zipkin spans will be consumed from.ActiveMQCollector.Builder
sampler(CollectorSampler sampler)
ActiveMQCollector.Builder
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
-