Package org.springframework.amqp.support.converter
Provides classes for supporting message conversion.
-
Interface Summary Interface Description ClassMapper Strategy for setting metadata on messages such that one can create the class that needs to be instantiated when receiving a message.Jackson2JavaTypeMapper Strategy for setting metadata on messages such that one can create the class that needs to be instantiated when receiving a message.MessageConverter Message converter interface.SmartMessageConverter An extendedMessageConverter
SPI with conversion hint support. -
Class Summary Class Description AbstractJackson2MessageConverter Abstract Jackson2 message converter.AbstractJavaTypeMapper Abstract type mapper.AbstractMessageConverter Convenient base class forMessageConverter
implementations.AllowedListDeserializingMessageConverter MessageConverters that potentially use Java deserialization.ContentTypeDelegatingMessageConverter A compositeMessageConverter
that delegates to an actualMessageConverter
based on the contentType header.DefaultClassMapper Maps to/from JSON using type information in theMessageProperties
; the default name of the message property containing the type is "__TypeId__".DefaultJackson2JavaTypeMapper Jackson 2 type mapper.Jackson2JsonMessageConverter JSON converter that uses the Jackson 2 Json library.Jackson2XmlMessageConverter XML converter that uses the Jackson 2 Xml library.MarshallingMessageConverter MessagingMessageConverter Convert aMessage
from the messaging abstraction to and from aMessage
using an underlyingMessageConverter
for the payload and aAmqpHeaderMapper
to map the AMQP headers to and from standard message headers.ProjectingMessageConverter Uses a Spring DataProjectionFactory
to bind incoming messages to projection interfaces.RemoteInvocationAwareMessageConverterAdapter A delegating adapter that unwrapsRemoteInvocationResult
after invoking the delegate to convert from a message.SerializerMessageConverter Implementation ofMessageConverter
that can work with Strings or native objects of any kind via theSerializer
andDeserializer
abstractions in Spring.SimpleMessageConverter Implementation ofMessageConverter
that can work with Strings, Serializable instances, or byte arrays. -
Enum Summary Enum Description Jackson2JavaTypeMapper.TypePrecedence The precedence for type conversion - inferred from the method parameter or message headers. -
Exception Summary Exception Description MessageConversionException Exception to be thrown by message converters if they encounter a problem with converting a message or object.