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 |
---|---|
static MessageType |
MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Message |
MappingJackson2MessageConverter.mapToMessage(Object object,
Session session,
ObjectWriter objectWriter,
MessageType targetType)
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 |
MarshallingMessageConverter.setTargetType(MessageType targetType)
Specify whether
MarshallingMessageConverter.toMessage(Object, Session) should marshal to
a BytesMessage or a TextMessage . |
void |
MappingJackson2MessageConverter.setTargetType(MessageType targetType)
Specify whether
MappingJackson2MessageConverter.toMessage(Object, Session) should marshal to a
BytesMessage or a TextMessage . |