0

I have configured a quartz scheduler with simple trigger and a job with job data map in Spring.

I want to later change the job data map and want the scheduler to pick up the latest job data map.

Is there a way to configure it in spring context xml file or tell spring to update the trigger with the new job data map?

Thanks.

skaffman
  • 398,947
  • 96
  • 818
  • 769
rsudha
  • 289
  • 1
  • 4
  • 12

1 Answers1

1

See this answer. Basically, use @PersistJobDataAfterExecution on the job class. (It usually goes with @DisallowConcurrentExecution.)

Community
  • 1
  • 1
John Lindal
  • 616
  • 5
  • 11