Class AmqpProtocolTracer

  • All Implemented Interfaces:
    org.apache.qpid.proton.engine.impl.ProtocolTracer

    public class AmqpProtocolTracer
    extends Object
    implements org.apache.qpid.proton.engine.impl.ProtocolTracer
    Proton-J ProtocolTracer implementation that writes AMQP frame data to the given logger target.
    • Field Detail

      • DEFAULT_PAYLOAD_STRING_LIMIT

        public static final int DEFAULT_PAYLOAD_STRING_LIMIT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AmqpProtocolTracer

        public AmqpProtocolTracer​(org.slf4j.Logger logger,
                                  int transportIdentifier)
      • AmqpProtocolTracer

        public AmqpProtocolTracer​(org.slf4j.Logger logger,
                                  int transportIdentifier,
                                  int payloadStringLimit)
    • Method Detail

      • receivedFrame

        public void receivedFrame​(org.apache.qpid.proton.framing.TransportFrame transportFrame)
        Specified by:
        receivedFrame in interface org.apache.qpid.proton.engine.impl.ProtocolTracer
      • sentFrame

        public void sentFrame​(org.apache.qpid.proton.framing.TransportFrame transportFrame)
        Specified by:
        sentFrame in interface org.apache.qpid.proton.engine.impl.ProtocolTracer
      • receivedSaslBody

        public void receivedSaslBody​(org.apache.qpid.proton.amqp.security.SaslFrameBody saslFrameBody)
        Specified by:
        receivedSaslBody in interface org.apache.qpid.proton.engine.impl.ProtocolTracer
      • sentSaslBody

        public void sentSaslBody​(org.apache.qpid.proton.amqp.security.SaslFrameBody saslFrameBody)
        Specified by:
        sentSaslBody in interface org.apache.qpid.proton.engine.impl.ProtocolTracer
      • receivedHeader

        public void receivedHeader​(String header)
        Specified by:
        receivedHeader in interface org.apache.qpid.proton.engine.impl.ProtocolTracer
      • sentHeader

        public void sentHeader​(String header)
        Specified by:
        sentHeader in interface org.apache.qpid.proton.engine.impl.ProtocolTracer