INTSAMPLES-19 Add Filter Discard Example

This commit is contained in:
Gary Russell
2011-02-02 14:47:07 -05:00
parent c5233cbd9f
commit a60c7a541f
4 changed files with 76 additions and 1 deletions

View File

@@ -16,4 +16,15 @@
<channel id="outputChannel"/>
<channel id="inputChannel2"/>
<filter input-channel="inputChannel2"
output-channel="outputChannel"
discard-channel="discardChannel2">
<beans:bean class="org.springframework.integration.samples.testing.filter.PetFilter"/>
</filter>
<channel id="outputChannel2"/>
<channel id="discardChannel2"/>
</beans:beans>