From 95e148eddf2feb7fab6a38e5accaf0cf263373fd Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 20 Sep 2010 01:32:33 -0400 Subject: [PATCH] INT-1468 changed reference documentation to reflect changes from MessageChannelTemplate to MessagingTemplate --- src/docbkx/channel.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/docbkx/channel.xml b/src/docbkx/channel.xml index d277f24454..ea8f942c94 100644 --- a/src/docbkx/channel.xml +++ b/src/docbkx/channel.xml @@ -324,16 +324,16 @@
- MessageChannelTemplate + MessagingTemplate As you will see when the endpoints and their various configuration options are introduced, Spring Integration provides a foundation for messaging components that enables non-invasive invocation of your application code from the messaging system. However, sometimes it is necessary to invoke the messaging system from your application code. For convenience when implementing such use-cases, Spring - Integration provides a MessageChannelTemplate that supports a variety of operations across + Integration provides a MessagingTemplate that supports a variety of operations across the Message Channels, including request/reply scenarios. For example, it is possible to send a request and wait for a reply. - MessageChannelTemplate template = new MessageChannelTemplate(); + MessagingTemplate template = new MessagingTemplate(); Message reply = template.sendAndReceive(new StringMessage("test"), someChannel); In that example, a temporary anonymous channel would be created internally by the template. The