Repository: incubator-batchee Updated Branches: refs/heads/master a0ca7ae83 -> f5cabe3da
fixing duration wiring Project: http://git-wip-us.apache.org/repos/asf/incubator-batchee/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-batchee/commit/c8d8a225 Tree: http://git-wip-us.apache.org/repos/asf/incubator-batchee/tree/c8d8a225 Diff: http://git-wip-us.apache.org/repos/asf/incubator-batchee/diff/c8d8a225 Branch: refs/heads/master Commit: c8d8a22560dac1d432d5b0d3060dc0694f2bc7be Parents: a0ca7ae Author: rmannibucau <rmannibu...@apache.org> Authored: Thu Sep 22 14:10:20 2016 +0200 Committer: rmannibucau <rmannibu...@apache.org> Committed: Thu Sep 22 14:10:20 2016 +0200 ---------------------------------------------------------------------- jbatch/src/test/resources/META-INF/batch-jobs/simple.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-batchee/blob/c8d8a225/jbatch/src/test/resources/META-INF/batch-jobs/simple.xml ---------------------------------------------------------------------- diff --git a/jbatch/src/test/resources/META-INF/batch-jobs/simple.xml b/jbatch/src/test/resources/META-INF/batch-jobs/simple.xml index 9b73787..e7fab0f 100644 --- a/jbatch/src/test/resources/META-INF/batch-jobs/simple.xml +++ b/jbatch/src/test/resources/META-INF/batch-jobs/simple.xml @@ -9,6 +9,10 @@ the specific language governing permissions and limitations under the License. --> <job id="simple" version="1.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee"> <step id="exec"> - <batchlet ref="org.apache.batchee.component.SimpleBatchlet" /> + <batchlet ref="org.apache.batchee.component.SimpleBatchlet"> + <properties> + <property name="duration" value="#{jobParameters['duration']}"/> + </properties> + </batchlet> </step> </job>