META-INF.batch-jobs.amqpWriterTest.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2016 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="amqpWriterTest" 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="amqpWriterTest.step1"> <chunk item-count="100"> <!-- this reader configuration is similar to the reader in JdbcWriterTest.xml --> <reader ref="csvItemReader"> <properties> <property name="resource" value="https://github.com/jberet/jsr352/blob/master/jberet-support/src/test/resources/IBM_unadjusted.txt?raw=true"/> <property name="headerless" value="true"/> <property name="beanType" value="java.util.Map"/> <property name="start" value="1"/> <property name="end" value="10"/> <property name="nameMapping" value="Date,Time,Open,High,Low,Close,Volume"/> <!-- JMS MapMessage cannot take java.util.Date as keyed value, so need to parameterize cellProcessors --> <!--<property name="cellProcessors"--> <!--value="ParseDate('MM/dd/yyyy'); null; ParseDouble; ParseDouble; ParseDouble; ParseDouble; ParseDouble"/>--> </properties> </reader> <writer ref="jmsItemWriter"> <properties> <!--<property name="connectionFactoryLookupName" value="/cf"/>--> <!--<property name="destinationLookupName" value="/queue/queue1"/>--> </properties> </writer> </chunk> </step> </job>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy