Fix some broken tests

This commit is contained in:
dsyer
2008-08-01 08:05:28 +00:00
parent 96cbf19f2e
commit 4d9da8f0a4
5 changed files with 16 additions and 22 deletions

View File

@@ -23,8 +23,8 @@
<bean
class="org.springframework.batch.integration.job.MessageOrientedStep">
<property name="name" value="TODO: I shouldn't have to set this"/>
<property name="requestChannel" ref="requests" />
<property name="replyChannel" ref="replies" />
<property name="target" ref="requests" />
<property name="source" ref="replies" />
<property name="jobRepository" ref="jobRepository" />
</bean>
</property>

View File

@@ -14,14 +14,12 @@
<import resource="classpath:simple-job-launcher-context.xml" />
<integration:message-bus auto-create-channels="true" channel-factory="channelFactory" />
<integration:message-bus auto-create-channels="true" />
<integration:annotation-driven />
<integration:channel id="requests" />
<integration:channel id="jobs" />
<integration:direct-channel id="requests" />
<integration:direct-channel id="jobs" />
<integration:thread-local-channel id="response" />
<bean id="channelFactory" class="org.springframework.integration.dispatcher.DirectChannelFactory" />
<integration:service-activator input-channel="requests" ref="jobLaunchingHandler" return-address-overrides="true" />
<integration:service-activator input-channel="none" output-channel="jobs" ref="jobRequestConverter" />