Class TraceMessagePropertiesConverter

java.lang.Object
org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
org.aoju.bus.tracer.binding.spring.amqp.TraceMessagePropertiesConverter
All Implemented Interfaces:
org.springframework.amqp.rabbit.support.MessagePropertiesConverter

public class TraceMessagePropertiesConverter extends org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • TraceMessagePropertiesConverter

      public TraceMessagePropertiesConverter()
    • TraceMessagePropertiesConverter

      public TraceMessagePropertiesConverter(String profile)
  • Method Details

    • toMessageProperties

      public org.springframework.amqp.core.MessageProperties toMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source, com.rabbitmq.client.Envelope envelope, String charset)
      Specified by:
      toMessageProperties in interface org.springframework.amqp.rabbit.support.MessagePropertiesConverter
      Overrides:
      toMessageProperties in class org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
    • fromMessageProperties

      public com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties(org.springframework.amqp.core.MessageProperties source, String charset)
      Specified by:
      fromMessageProperties in interface org.springframework.amqp.rabbit.support.MessagePropertiesConverter
      Overrides:
      fromMessageProperties in class org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter