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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.rabbitmq.client.AMQP.BasicPropertiesfromMessageProperties(org.springframework.amqp.core.MessageProperties source, String charset) org.springframework.amqp.core.MessagePropertiestoMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source, com.rabbitmq.client.Envelope envelope, String charset)
-
Constructor Details
-
TraceMessagePropertiesConverter
public TraceMessagePropertiesConverter() -
TraceMessagePropertiesConverter
-
-
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:
toMessagePropertiesin interfaceorg.springframework.amqp.rabbit.support.MessagePropertiesConverter- Overrides:
toMessagePropertiesin classorg.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
-
fromMessageProperties
public com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties(org.springframework.amqp.core.MessageProperties source, String charset) - Specified by:
fromMessagePropertiesin interfaceorg.springframework.amqp.rabbit.support.MessagePropertiesConverter- Overrides:
fromMessagePropertiesin classorg.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
-