@NonNullApi
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 extendedMessageConverterSPI with conversion hint support. -
Class Summary Class Description AbstractJackson2MessageConverter Abstract Jackson2 message converter.AbstractJavaTypeMapper Abstract type mapper.AbstractMessageConverter Convenient base class forMessageConverterimplementations.AllowedListDeserializingMessageConverter MessageConverters that potentially use Java deserialization.ContentTypeDelegatingMessageConverter A compositeMessageConverterthat delegates to an actualMessageConverterbased 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 aMessagefrom the messaging abstraction to and from aMessageusing an underlyingMessageConverterfor the payload and aAmqpHeaderMapperto map the AMQP headers to and from standard message headers.ProjectingMessageConverter Uses a Spring DataProjectionFactoryto bind incoming messages to projection interfaces.RemoteInvocationAwareMessageConverterAdapter A delegating adapter that unwrapsRemoteInvocationResultafter invoking the delegate to convert from a message.SerializerMessageConverter Implementation ofMessageConverterthat can work with Strings or native objects of any kind via theSerializerandDeserializerabstractions in Spring.SimpleMessageConverter Implementation ofMessageConverterthat 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.