Modified channel-adapter configuration in tests.

This commit is contained in:
Mark Fisher
2008-09-24 02:08:14 +00:00
parent 4664ef5f81
commit 648ae40605
3 changed files with 5 additions and 5 deletions

View File

@@ -16,9 +16,9 @@
<si:queue capacity="10"/>
</si:channel>
<si:channel-adapter source="jmsSource" channel="channel">
<si:inbound-channel-adapter ref="jmsSource" channel="channel">
<si:poller period="5000" initial-delay="0" max-messages-per-poll="1"/>
</si:channel-adapter>
</si:inbound-channel-adapter>
<jms:jms-source id="jmsSource" jms-template="jmsTemplate"/>

View File

@@ -26,8 +26,8 @@
<beans:bean id="testConsumer" class="org.springframework.integration.security.endpoint.TestConsumer"/>
<channel-adapter id="securedChannelAdapter" target="testConsumer"/>
<outbound-channel-adapter id="securedChannelAdapter" ref="testConsumer"/>
<channel-adapter id="unsecuredChannelAdapter" target="testConsumer"/>
<outbound-channel-adapter id="unsecuredChannelAdapter" ref="testConsumer"/>
</beans:beans>

View File

@@ -29,7 +29,7 @@
</interceptors>
</service-activator>
<channel-adapter id="output" target="testConsumer"/>
<outbound-channel-adapter id="output" ref="testConsumer"/>
<beans:bean id="testHandler"
class="org.springframework.integration.security.endpoint.TestHandler"/>