Announcement Announcement Module
No announcement yet.
ItemProcdessor / parallel execution Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • ItemProcdessor / parallel execution

    HI ALL
    i would like to implement a parallelExecution for my ItemProcessor.
    My batch consists of
    - jdbcItemREader which will read two columns from a db table
    - an ItemProcessor which will use the two columns from the db to call a Service , which will return a CustomDomainObject
    - write the CustomDomainObject to a flat file

    the problem i am having is that the ItemProcessor step involves a little bit of time to retrieve the data.... and i was wondering
    how can i make the processing parallel in the itemProcessor

    According to the 5.3.5. Split Flows docs, i can parallelize steps of a batch... but my batch consists only of one step

    <step  itemReader=jdbcItemReader  itemProcessor=myServiceItemPRocessor  itemWriter=myItemWriter/>
    and i am not sure if i can split the reading processing and writing in separate steps

    w.kindest regards