added comment
This commit is contained in:
Iwein Fuld
2009-01-27 22:19:42 +00:00
parent 092364b6ad
commit 62e744457d

View File

@@ -12,13 +12,15 @@
http://www.springframework.org/schema/integration/stream
http://www.springframework.org/schema/integration/stream/spring-integration-stream-1.0.xsd">
<context:component-scan base-package="org.springframework.integration.samples.errorhandling" />
<context:component-scan
base-package="org.springframework.integration.samples.errorhandling" />
<poller default="true" max-messages-per-poll="1">
<interval-trigger interval="1000" />
</poller>
<inbound-channel-adapter ref="partyHost" method="nextInvitation" channel="invitations" />
<inbound-channel-adapter ref="partyHost"
method="nextInvitation" channel="invitations" />
<channel id="invitations">
<queue capacity="100" />
@@ -36,6 +38,13 @@
<service-activator ref="partyHost" method="onInvitationFailed" />
</chain>
<stream:stderr-channel-adapter channel="errorChannel" append-newline="true" />
<!--
If you don't listen to the default error channel you risk losing track
of exceptions, as they cannot be passed back to the sender in band. It
is recommended to have a generic error handler in your configuration
to prevent this.
-->
<stream:stderr-channel-adapter channel="errorChannel"
append-newline="true" />
</beans:beans>