Class MessageAnnotationsExtractAdapter

  • All Implemented Interfaces:
    io.opentracing.propagation.TextMap, io.opentracing.propagation.TextMapExtract, io.opentracing.propagation.TextMapInject, Iterable<Map.Entry<String,​String>>

    public class MessageAnnotationsExtractAdapter
    extends Object
    implements io.opentracing.propagation.TextMap
    An adapter for extracting properties from an AMQP 1.0 message's message annotations.
    • Constructor Detail

      • MessageAnnotationsExtractAdapter

        public MessageAnnotationsExtractAdapter​(org.apache.qpid.proton.message.Message message,
                                                String propertiesMapName)
        Creates an adapter for a message.
        Parameters:
        message - The message.
        propertiesMapName - The name of the message annotation of type map that contains the properties to extract.
        Throws:
        NullPointerException - if any of the parameters are null.