[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Transactional Triggers in terms of execution  XML
Forum Index -> Quartz
Author Message
dhruv

journeyman

Joined: 09/29/2008 00:22:08
Messages: 10
Offline

Hi Team

I am using quartz-1.7.3 and i am stuck at one scenario

Here is a scenario

I have schedule one trigger for one job.
Trigger is SimpleTrigger

I took debug(breakpoint) in execute method of job.
I stop the JVM by killing it at that point

and i found status of that trigger is complete though execution was not complete (because of JVM crash)

On next startup of scheduler trigger is removed from DB.(it was considered as fired)


I want to make sure that if trigger has fired it should complete execute method.
In case of any exception i can decide to fire again or let it be completed.


how do i achieve same?


Dhruv
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1654
Offline


Look at the requests recovery setting on the JobDetail.

 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team