org.springframework.amqp.rabbit.support
Class DefaultMessagePropertiesConverter
java.lang.Object
org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
- All Implemented Interfaces:
- MessagePropertiesConverter
public class DefaultMessagePropertiesConverter
- extends java.lang.Object
- implements MessagePropertiesConverter
Default implementation of the MessagePropertiesConverter strategy.
- Since:
- 1.0
|
Method Summary |
com.rabbitmq.client.AMQP.BasicProperties |
fromMessageProperties(org.springframework.amqp.core.MessageProperties source,
java.lang.String charset)
|
org.springframework.amqp.core.MessageProperties |
toMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source,
com.rabbitmq.client.Envelope envelope,
java.lang.String charset)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessagePropertiesConverter
public DefaultMessagePropertiesConverter()
toMessageProperties
public org.springframework.amqp.core.MessageProperties toMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source,
com.rabbitmq.client.Envelope envelope,
java.lang.String charset)
- Specified by:
toMessageProperties in interface MessagePropertiesConverter
fromMessageProperties
public com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties(org.springframework.amqp.core.MessageProperties source,
java.lang.String charset)
- Specified by:
fromMessageProperties in interface MessagePropertiesConverter