spring

Spring Batch ScriptItemProcessor

Spring Batch ScriptItemProcessor Question: I want to use a web scraping python script in my batch program but I cannot find any examples in the web for this. Hence, it’s possible to use python scripts with the ScriptItemProcessor? Here’s my simple code to test this: @Bean public ScriptItemProcessor<Company,Company> scriptItemProcessor() { return new ScriptItemProcessorBuilder<Company,Company>().language("python").scriptSource("print(‘hello’)").build(); } UPDATE …

Total answers: 1