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