Interface MessagePropertiesConverter

  • All Known Implementing Classes:
    DefaultMessagePropertiesConverter

    public interface MessagePropertiesConverter
    Strategy interface for converting between Spring AMQP MessageProperties and RabbitMQ BasicProperties.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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)  
    • Method Detail

      • toMessageProperties

        org.springframework.amqp.core.MessageProperties toMessageProperties​(com.rabbitmq.client.AMQP.BasicProperties source,
                                                                            @Nullable
                                                                            com.rabbitmq.client.Envelope envelope,
                                                                            java.lang.String charset)
      • fromMessageProperties

        com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties​(org.springframework.amqp.core.MessageProperties source,
                                                                       java.lang.String charset)