Package zipkin2.reporter.activemq
Class ActiveMQSender.Builder
java.lang.Object
zipkin2.reporter.activemq.ActiveMQSender.Builder
- Enclosing class:
- ActiveMQSender
public static final class ActiveMQSender.Builder extends Object
-
Method Summary
Modifier and Type Method Description ActiveMQSenderbuild()ActiveMQSender.BuilderconnectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)ActiveMQSender.Builderencoding(zipkin2.codec.Encoding encoding)Use this to change the encoding used in messages.ActiveMQSender.BuildermessageMaxBytes(int messageMaxBytes)Maximum size of a message.ActiveMQSender.Builderqueue(String queue)Queue zipkin spans will be consumed from.
-
Method Details
-
connectionFactory
public ActiveMQSender.Builder connectionFactory(org.apache.activemq.ActiveMQConnectionFactory connectionFactory) -
queue
Queue zipkin spans will be consumed from. Defaults to "zipkin". -
encoding
Use this to change the encoding used in messages. Default is Encoding.JSONNote: If ultimately sending to Zipkin, version 2.8+ is required to process protobuf.
-
messageMaxBytes
Maximum size of a message. Default 500KB. -
build
-