-
Dec 2nd, 2012, 03:13 PM
#1
emailHandlingService
Hello,
on pages 187-189 of "Spring Integration in Action", the authors give an example of an inbound-channel-adapter and a chain whose service activator is an email handling service, called "emailHandlingService". Unfortunately, they don't provide the service's program in the book's source code. Could someone please provide an example of such a service?
Many thanks.
Philroc
<int-mail:inbound-channel-adapter id="mailAdapter"
store-uri="pop3:..."
java-mail-properties="javaMailProperties"
channel="emails"
auto-startup="true">
<int
oller max-messages-per-poll="1" fixed-rate="5000" />
</int-mail:inbound-channel-adapter>
<int:chain input-channel="emails" output-channel="handled-emails">
<int-mail:mail-to-string-transformer />
<int:transformer expression="payload.content"/>
<int:service-activator ref="emailHandlingService"/>
</int:chain>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules