Spring AMQP

org.springframework.amqp.rabbit.support
Class DefaultMessagePropertiesConverter

java.lang.Object
  extended by org.springframework.amqp.rabbit.support.DefaultMessagePropertiesConverter
All Implemented Interfaces:
MessagePropertiesConverter

public class DefaultMessagePropertiesConverter
extends Object
implements MessagePropertiesConverter

Default implementation of the MessagePropertiesConverter strategy.

Since:
1.0
Author:
Mark Fisher

Constructor Summary
DefaultMessagePropertiesConverter()
           
 
Method Summary
 com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties(MessageProperties source, String charset)
           
 MessageProperties toMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source, com.rabbitmq.client.Envelope envelope, String charset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessagePropertiesConverter

public DefaultMessagePropertiesConverter()
Method Detail

toMessageProperties

public MessageProperties toMessageProperties(com.rabbitmq.client.AMQP.BasicProperties source,
                                             com.rabbitmq.client.Envelope envelope,
                                             String charset)
Specified by:
toMessageProperties in interface MessagePropertiesConverter

fromMessageProperties

public com.rabbitmq.client.AMQP.BasicProperties fromMessageProperties(MessageProperties source,
                                                                      String charset)
Specified by:
fromMessageProperties in interface MessagePropertiesConverter

Spring AMQP

Copyright © 2011. All Rights Reserved.