diff --git a/spring-integration-reference/src/adapters.xml b/spring-integration-reference/src/adapters.xml
index e5b7226999..eb44d315c6 100644
--- a/spring-integration-reference/src/adapters.xml
+++ b/spring-integration-reference/src/adapters.xml
@@ -11,9 +11,8 @@
external systems or components that are not part of the messaging system. These source and target
implementations can be configured within the same channel-adapter element that we
have already discussed. Essentially, the external system or component sends-to and/or receives-from a
- MessageChannel. In the 1.0 Milestone 5 release, Spring Integration includes
- source and target implementations for JMS, Files, Streams, and Spring ApplicationEvents. A source adapter
- for FTP is also available.
+ MessageChannel. In the 1.0 Milestone 6 release, Spring Integration includes
+ source and target implementations for JMS, Files, FTP, Streams, and Spring ApplicationEvents.
Adapters that allow an external system to perform request-reply operations across Spring Integration
@@ -75,7 +74,7 @@
]]>
- The JmsTarget implements the Target interface
+ The JmsTarget implements the MessageTarget interface
and is capable of mapping Spring Integration Messages to JMS messages and then
sending to a JMS destination. It requires either a 'jmsTemplate' reference or both 'connectionFactory' and
'destination' references (again, the 'destinationName' may be provided in place of the 'destination). In
@@ -118,7 +117,7 @@ RmiHandler rmiHandler = new RmiHandler(url);
]]>
When not running in a Spring MVC application, simply define a servlet in 'web.xml' whose type is
- HttpRequestHandlerServlet and whose name matches the bean name of the source
+ HttpRequestHandlerServlet and whose name matches the bean name of the gateway
adapter. As with the RmiHandler, the
HttpInvokerHandler only requires the URL that matches an instance of
HttpInvokerGateway running in a web application.
@@ -170,14 +169,14 @@ RmiHandler rmiHandler = new RmiHandler(url);
message);
}]]>
- The default implementation will look for attributes in the MessageHeader with
- the following constants defining the keys:
- MailAttributeKeys.SUBJECT
-MailAttributeKeys.TO
-MailAttributeKeys.CC
-MailAttributeKeys.BCC
-MailAttributeKeys.FROM
-MailAttributeKeys.REPLY_TO
+ The default implementation will look for values in the MessageHeaders with
+ the following constants defining the header names:
+ MailHeaders.SUBJECT
+MailHeaders.TO
+MailHeaders.CC
+MailHeaders.BCC
+MailHeaders.FROM
+MailHeaders.REPLY_TO
A static implementation is also available out-of-the-box and may be useful for testing. However, when
@@ -206,7 +205,7 @@ marshallingHandler = new MarshallingWebServiceHandler(uri, marshaller);
Either adapter can then be referenced from a service-activator element
that is subscribed to an input-channel. The endpoint is then responsible for passing the response to the
proper reply channel. It will first check for an "output-channel" on the service-activator and will
- fallback to a returnAddress on the original message's header.
+ fallback to a RETURN_ADDRESS in the original message's headers.
For more detail on the inner workings, see the Spring Web Services reference guide's chapter covering
@@ -219,8 +218,8 @@ marshallingHandler = new MarshallingWebServiceHandler(uri, marshaller);
Stream Adapters
Spring Integration also provides adapters for streams. Both ByteStreamSource and
- CharacterStreamSource implement the Source interface. By
- configuring one of these within a channel-adapter element, the polling period can be configured,
+ CharacterStreamSource implement the PollableSource
+ interface. By configuring one of these within a channel-adapter element, the polling period can be configured,
and the Message Bus can automatically detect and schedule them. The byte stream version requires an
InputStream, and the character stream version requires a Reader as
the single constructor argument. The ByteStreamSource also accepts the 'bytesPerMessage'
@@ -249,9 +248,9 @@ marshallingHandler = new MarshallingWebServiceHandler(uri, marshaller);
To send Spring ApplicationEvents, register an instance of the
- ApplicationEventTarget class as the 'target' of a TargetEndpoint
- (such configuration will be described in detail in ). This target also implements
- Spring's ApplicationEventPublisherAware interface and thus acts as a bridge between
+ ApplicationEventTarget class as the 'target' of a Channel Adapter (such configuration will
+ be described in detail in ). This target also implements Spring's
+ ApplicationEventPublisherAware interface and thus acts as a bridge between
Spring Integration Messages and ApplicationEvents.