Top Description Interfaces Classes Enums
module spring.jms

Package org.springframework.jms.support.converter

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides a MessageConverter abstraction to convert between Java objects and JMS messages.

Interface Summary

Modifier and TypeInterface and Description
public interface
MessageConverter

Strategy interface that specifies a converter between Java objects and JMS messages.

public interface
SmartMessageConverter

An extended MessageConverter SPI with conversion hint support.

Class Summary

Modifier and TypeClass and Description
public class
MappingJackson2MessageConverter

Message converter that uses Jackson 2.x to convert messages to and from JSON.

public class
public class
MessageConversionException

Thrown by MessageConverter implementations when the conversion of an object to/from a jakarta.jms.Message fails.

public class
MessagingMessageConverter

Convert a Message from the messaging abstraction to and from a jakarta.jms.Message using an underlying MessageConverter for the payload and a org.springframework.jms.support.JmsHeaderMapper to map the JMS headers to and from standard message headers.

public class
SimpleMessageConverter

A simple message converter which is able to handle TextMessages, BytesMessages, MapMessages, and ObjectMessages.

Enum Summary

Modifier and TypeEnum and Description
public enum
MessageType

Constants that indicate a target message type to convert to: a jakarta.jms.TextMessage, a jakarta.jms.BytesMessage, a jakarta.jms.MapMessage or an jakarta.jms.ObjectMessage.