JBoss Community

How to handle failed processes/states due to server crashes?

reply from Puneet Kankane in jBPM - View the full discussion

That's the job of the user code, you have to deal with your own Exceptions, there is no special Exception Handling besides some obvious stuff like rollback of the ongoing transaction. And then there is some retry code for failed async Job execution and a Retry interceptor for stale hibernate entities.

Michael thanks for your reply.

 

I am not using async job execution, I have wait states, waiting for a reply from a service. "some obvious stuff like rollback of the ongoing transaction" - how will the transaction rollback if the application shutsdown gracefully or crashes.

 

Retry-Interceptor : - could you please provide more insight on this. any pointers on how to make best use of them and when should we use them.

 

Puneet

Reply to this message by going to Community

Start a new discussion in jBPM at Community