1

How do I implement @Value in a spring batch program.. any suggestions.. I wanted to get values from a property file, values like web-services end point, target then db details..

Ugur Artun
  • 1,744
  • 2
  • 23
  • 41
zDroid
  • 426
  • 1
  • 11
  • 32
  • I have not implemented anything yet just wanted some info before I start.. – zDroid Sep 19 '13 at 15:09
  • Nothing to do with spring-batch, just spring-core. Follow http://stackoverflow.com/questions/12576156/reading-a-list-from-properties-file-and-load-with-spring-annotation-value?rq=1 – Luca Basso Ricci Sep 19 '13 at 21:51
  • I tried all that but am not getting the values from the property file to my tasklet in spring batch.. I just tried the example in mkyong site. Tried adding the properties file there but it didnt work. Can anyone please help.. – zDroid Sep 23 '13 at 04:37
  • you need to post your relevant configuration to let us help you – Luca Basso Ricci Sep 23 '13 at 06:15

0 Answers0