All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.batch-jobs.chunkSkipRetryBase.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

<!--
 Copyright (c) 2015 Red Hat, Inc. and/or its affiliates.

 This program and the accompanying materials are made
 available under the terms of the Eclipse Public License 2.0
 which is available at https://www.eclipse.org/legal/epl-2.0/

 SPDX-License-Identifier: EPL-2.0
-->

<job id="chunkSkipRetryBase" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd"
     version="1.0">
    <step id="step0" abstract="true">
        <chunk>
            <reader ref="integerArrayReader">
                <properties>
                    <property name="data.count" value="#{jobParameters['data.count']}?:30;"/>
                    <property name="fail.on.values" value="#{jobParameters['reader.fail.on.values']}"/>
                    <property name="repeat.failure" value="#{jobParameters['repeat.failure']}?:false;"/>
                </properties>
            </reader>
            <processor ref="integerProcessor">
                <properties>
                    <property name="fail.on.values" value="#{jobParameters['processor.fail.on.values']}"/>
                    <property name="repeat.failure" value="#{jobParameters['repeat.failure']}?:false;"/>
                </properties>
            </processor>
            <writer ref="integerArrayWriter">
                <properties>
                    <property name="fail.on.values" value="#{jobParameters['writer.fail.on.values']}"/>
                    <property name="writer.sleep.time" value="#{jobParameters['writer.sleep.time']}"/>
                    <property name="repeat.failure" value="#{jobParameters['repeat.failure']}?:false;"/>
                </properties>
            </writer>
        </chunk>
    </step>
</job>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy