All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
META-INF.batch-jobs.clusterJob.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017 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="clusterJob" 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="clusterJob.step1">
<chunk>
<reader ref="arrayItemReader">
<properties>
<property name="resource"
value="[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,42,44]"/>
<property name="beanType" value="java.lang.Integer"/>
<property name="skipBeanValidation" value="true"/>
<property name="start" value="#{partitionPlan['partition.start']}"/>
<property name="end" value="#{partitionPlan['partition.end']}"/>
</properties>
</reader>
<writer ref="mockItemWriter"/>
</chunk>
<partition>
<plan partitions="3">
<properties partition="0">
<property name="partition.start" value="0"/>
<property name="partition.end" value="14"/>
</properties>
<properties partition="1">
<property name="partition.start" value="15"/>
<property name="partition.end" value="29"/>
</properties>
<properties partition="2">
<property name="partition.start" value="30"/>
<property name="partition.end" value="44"/>
</properties>
</plan>
</partition>
</step>
</job>