META-INF.spring.batch.bootstrap.integration.launcher-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/integration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-1.0.xsd"> <channel id="job-requests" /> <!-- TODO: filter into success and failure channels --> <publish-subscribe-channel id="job-operator" /> <logging-channel-adapter channel="job-operator" /> <service-activator input-channel="job-requests" output-channel="job-operator"> <beans:bean class="org.springframework.batch.integration.launch.JobLaunchingMessageHandler"> <beans:constructor-arg ref="jobLauncher" /> </beans:bean> </service-activator> </beans:beans>