* renamed PIECE_COUNT to READ_COUNT in AbstractBufferedItemReaderItemStream

* taskletJob now uses "java -version" as platform neutral successful command
This commit is contained in:
robokaso
2008-07-01 08:16:45 +00:00
parent e72825d761
commit cf37f2e31f
4 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@
<property name="tasklet">
<bean
class="org.springframework.batch.sample.tasklet.SystemCommandTasklet">
<property name="command" value="echo hello" />
<property name="command" value="java -version" />
<!-- 5 second timeout for the command to complete -->
<property name="timeout" value="5000" />
</bean>