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

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

<?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="chunkRetry" 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="step1" parent="step0" jsl-name="chunkSkipRetryBase">
        <chunk retry-limit="#{jobParameters['retry.limit']}?:-1;">
            <retryable-exception-classes>
                <include class="java.lang.ArithmeticException"/>
            </retryable-exception-classes>
            <no-rollback-exception-classes>
                <include class="#{jobParameters['no.rollback.exception.classes']}"/>
            </no-rollback-exception-classes>
        </chunk>
    </step>
</job>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy