Class MarshallingMessageConverter

java.lang.Object
org.springframework.jms.support.converter.MarshallingMessageConverter
All Implemented Interfaces:
InitializingBean, MessageConverter

public class MarshallingMessageConverter extends Object implements MessageConverter, InitializingBean
Spring JMS MessageConverter that uses a Marshaller and Unmarshaller. Marshals an object to a BytesMessage, or to a TextMessage if the targetType is set to MessageType.TEXT. Unmarshals from a TextMessage or BytesMessage to an object.
Since:
3.0
Author:
Arjen Poutsma, Juergen Hoeller