Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > Setting Up Collection > Universal collectors > JDBC Collector > Spring Batch XML example

Spring Batch XML example

Table of contents
No headers
<batch:step id="collect" next="assemble">
  <batch:tasklet>
    <bean class="com.cloudcruiser.batch.CCRecordCollectTasklet">
      <property name="active" value="true"/>
      <property name="feedName" value="ccdb"/>
      <property name="collector">
        <bean id="sampleJdbcReader" class="com.cloudcruiser.batch.collect.SmartJdbcCollector">
          <property name="feedConfig" ref="feedConfig"/>
          <property name="fetchSize" value="‐1"/>
          <property name="maxRows" value="‐1"/>
          <property name="queryTimeout" value="‐1"/>
          <property name="ignoreWarnings" value="true"/>
          <property name="verifyCursorPosition" value="false"/>
          <property name="dataSourceConfig">
            <bean class="com.cloudcruiser.batch.collect.DataSourceConfig">
              <property name="url" value="jdbc:jtds:sqlserver://127.0.0.1::1433/ccdb" />
              <property name="username" value="cloudcollect" />
              <property name="password" value="1234" />
            </bean>
          </property>
        </bean>
      </property>
    </bean>
  </batch:tasklet>
</batch:step>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP