From 82e0d49703b3ea6cab6874a0100ed7ab680d0cfb Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Tue, 13 Jul 2010 04:09:10 +0000 Subject: [PATCH] INT-1224 Added documentation showing MarshallingMessageConverter --- src/docbkx/jms.xml | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/src/docbkx/jms.xml b/src/docbkx/jms.xml index ce53db987e..2dc3142b42 100644 --- a/src/docbkx/jms.xml +++ b/src/docbkx/jms.xml @@ -196,17 +196,43 @@ sent as a request, and the 'extract-reply-payload' property value applies to the JMS Message that is received as a reply and then converted into a Spring Integration Message to be subsequently sent to the 'reply-channel' as shown in the example configuration above. - - For all of these JMS adapters, you can also specify your own "message-converter" reference. Simply provide the - bean name of an instance of MessageConverter that is available within the same - ApplicationContext. Note, however, that when you provide your own MessageConverter instance, it will still - be wrapped within the HeaderMappingMessageConverter. This means that the 'extract-request-payload' - and 'extract-reply-payload' properties may effect what actual objects are passed to your converter. The - HeaderMappingMessageConverter itself simply delegates to a target MessageConverter while also mapping the - Spring Integration MessageHeaders to JMS Message properties and vice-versa. - +
+ Message Conversion, Marshalling and Unmarshalling + + If you need to convert the message, all JMS adapters and gateways, allow you to + provide a MessageConverter via message-converter attribute. Simply provide the + bean name of an instance of MessageConverter that is available within the same + ApplicationContext. + Also, to provide some consistency with Marshaller and Unmarshaller interfaces Spring provides MarshallingMessageConverter + which you can configure with your own custom Marshallers and Unmarshallers + + + + + + + + + + + + ]]> + + + + Note, however, that when you provide your own MessageConverter instance, it will still + be wrapped within the HeaderMappingMessageConverter. This means that the 'extract-request-payload' + and 'extract-reply-payload' properties may effect what actual objects are passed to your converter. The + HeaderMappingMessageConverter itself simply delegates to a target MessageConverter while also mapping the + Spring Integration MessageHeaders to JMS Message properties and vice-versa. + + +
JMS Backed Message Channels