Package | Description |
---|---|
org.springframework.jms.support.converter |
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
|
Modifier and Type | Method and Description |
---|---|
Object |
SimpleMessageConverter.fromMessage(Message message)
This implementation converts a TextMessage back to a String, a
ByteMessage back to a byte array, a MapMessage back to a Map,
and an ObjectMessage back to a Serializable object.
|
Object |
MessagingMessageConverter.fromMessage(Message message) |
Object |
MessageConverter.fromMessage(Message message)
Convert from a JMS Message to a Java object.
|
Object |
MappingJackson2MessageConverter.fromMessage(Message message) |
Object |
MarshallingMessageConverter.fromMessage(Message message)
This implementation unmarshals the given
Message into an object. |
Message |
SimpleMessageConverter.toMessage(Object object,
Session session)
This implementation creates a TextMessage for a String, a
BytesMessage for a byte array, a MapMessage for a Map,
and an ObjectMessage for a Serializable object.
|
Message |
MessagingMessageConverter.toMessage(Object object,
Session session) |
Message |
MessageConverter.toMessage(Object object,
Session session)
Convert a Java object to a JMS Message using the supplied session
to create the message object.
|
Message |
MappingJackson2MessageConverter.toMessage(Object object,
Session session) |
Message |
MarshallingMessageConverter.toMessage(Object object,
Session session)
This implementation marshals the given object to a
TextMessage or
BytesMessage . |
Message |
MappingJackson2MessageConverter.toMessage(Object object,
Session session,
Class<?> jsonView)
Convert a Java object to a JMS Message using the specified json view
and the supplied session to create the message object.
|
Message |
MappingJackson2MessageConverter.toMessage(Object object,
Session session,
Object conversionHint) |
Message |
SmartMessageConverter.toMessage(Object object,
Session session,
Object conversionHint)
A variant of
MessageConverter.toMessage(Object, Session) which takes an extra conversion
context as an argument, allowing to take e.g. |
protected Message |
MappingJackson2MessageConverter.toMessage(Object object,
Session session,
ObjectWriter objectWriter) |