Class Jackson2XmlMessageConverter
java.lang.Object
org.springframework.amqp.support.converter.AbstractMessageConverter
org.springframework.amqp.support.converter.AbstractJackson2MessageConverter
org.springframework.amqp.support.converter.Jackson2XmlMessageConverter
- All Implemented Interfaces:
MessageConverter,SmartMessageConverter,Aware,BeanClassLoaderAware
@Deprecated(forRemoval=true,
since="4.0")
public class Jackson2XmlMessageConverter
extends AbstractJackson2MessageConverter
Deprecated, for removal: This API element is subject to removal in a future version.
XML converter that uses the Jackson 2 Xml library.
- Since:
- 2.1
- Author:
- Mohammad Hewedy
-
Field Summary
Fields inherited from class org.springframework.amqp.support.converter.AbstractJackson2MessageConverter
DEFAULT_CHARSET, log, objectMapper -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Construct with an internalXmlMapperinstance and trusted packed to all (*).Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper) Deprecated, for removal: This API element is subject to removal in a future version.Construct with the providedXmlMapperinstance and trusted packed to all (*).Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, String... trustedPackages) Deprecated, for removal: This API element is subject to removal in a future version.Construct with the providedXmlMapperinstance.Jackson2XmlMessageConverter(String... trustedPackages) Deprecated, for removal: This API element is subject to removal in a future version.Construct with an internalXmlMapperinstance. -
Method Summary
Methods inherited from class org.springframework.amqp.support.converter.AbstractJackson2MessageConverter
createMessage, createMessage, fromMessage, fromMessage, getClassLoader, getClassMapper, getDefaultCharset, getJavaTypeMapper, getSupportedContentType, getTypePrecedence, isTypeMapperSet, isUseProjectionForInterfaces, setAlwaysConvertToInferredType, setAssumeSupportedContentType, setBeanClassLoader, setClassMapper, setDefaultCharset, setJavaTypeMapper, setNullAsOptionalEmpty, setSupportedContentType, setTypePrecedence, setUseProjectionForInterfacesMethods inherited from class org.springframework.amqp.support.converter.AbstractMessageConverter
isCreateMessageIds, setCreateMessageIds, toMessage, toMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.amqp.support.converter.MessageConverter
toMessage, toMessage
-
Constructor Details
-
Jackson2XmlMessageConverter
public Jackson2XmlMessageConverter()Deprecated, for removal: This API element is subject to removal in a future version.Construct with an internalXmlMapperinstance and trusted packed to all (*). -
Jackson2XmlMessageConverter
Deprecated, for removal: This API element is subject to removal in a future version.Construct with an internalXmlMapperinstance. TheDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESis set to false on theXmlMapper.- Parameters:
trustedPackages- the trusted Java packages for deserialization- See Also:
-
Jackson2XmlMessageConverter
public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper) Deprecated, for removal: This API element is subject to removal in a future version.Construct with the providedXmlMapperinstance and trusted packed to all (*).- Parameters:
xmlMapper- theXmlMapperto use.
-
Jackson2XmlMessageConverter
public Jackson2XmlMessageConverter(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, String... trustedPackages) Deprecated, for removal: This API element is subject to removal in a future version.Construct with the providedXmlMapperinstance.- Parameters:
xmlMapper- theXmlMapperto use.trustedPackages- the trusted Java packages for deserialization- See Also:
-
JacksonXmlMessageConverterfor Jackson 3.