I'd need to port an existing Java EE application to Spring Boot. This application uses Batch Jobs. I see the Batch Job XML configuration is quite similar to Spring Boot's:
<job id="simpleJob" xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="1.0"> <properties> <property name="foo" value="bar" /> </properties> <step id="step1"> <chunk item-count="3"> <reader ref="batchItemReader" /> <processor ref="batchItemProcessor" /> <writer ref="batchItemWriter" /> </chunk> </step> </job>
I cannot find the properties element in the Spring Boot XSD (http://www.springframework.org/schema/batch/spring-batch-3.0.xsd). Is there an equivalent way to add properties in the XML file or it can be done only programmatically? Thanks
1.4m articles
1.4m replys
5 comments
57.0k users