Uses of Enum Class
org.springframework.jms.support.converter.MessageType
Packages that use MessageType
Package
Description
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
-
Uses of MessageType in org.springframework.jms.support.converter
Subclasses with type arguments of type MessageType in org.springframework.jms.support.converterModifier and TypeClassDescriptionenum
Constants that indicate a target message type to convert to: aTextMessage
, aBytesMessage
, aMapMessage
or anObjectMessage
.Methods in org.springframework.jms.support.converter that return MessageTypeModifier and TypeMethodDescriptionstatic MessageType
Returns the enum constant of this class with the specified name.static MessageType[]
MessageType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.jms.support.converter with parameters of type MessageTypeModifier and TypeMethodDescriptionprotected Message
JacksonJsonMessageConverter.mapToMessage
(Object object, Session session, ObjectWriter objectWriter, MessageType targetType) Template method that allows for custom message mapping.protected Message
MappingJackson2MessageConverter.mapToMessage
(Object object, Session session, com.fasterxml.jackson.databind.ObjectWriter objectWriter, MessageType targetType) Deprecated, for removal: This API element is subject to removal in a future version.Template method that allows for custom message mapping.protected Message
MarshallingMessageConverter.marshalToMessage
(Object object, Session session, Marshaller marshaller, MessageType targetType) Template method that allows for custom message marshalling.void
JacksonJsonMessageConverter.setTargetType
(MessageType targetType) Specify whetherJacksonJsonMessageConverter.toMessage(Object, Session)
should marshal to aBytesMessage
or aTextMessage
.void
MappingJackson2MessageConverter.setTargetType
(MessageType targetType) Deprecated, for removal: This API element is subject to removal in a future version.Specify whetherMappingJackson2MessageConverter.toMessage(Object, Session)
should marshal to aBytesMessage
or aTextMessage
.void
MarshallingMessageConverter.setTargetType
(MessageType targetType) Specify whetherMarshallingMessageConverter.toMessage(Object, Session)
should marshal to aBytesMessage
or aTextMessage
.