Fix some broken tests
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user