Error handling in custom SDK5 EventHandler

cancel
Showing results for 
Search instead for 
Did you mean: 
zhihailiu
Active Member

Error handling in custom SDK5 EventHandler

What is the best practive to handle errors in a custom SDK5 out-of-process EventHandler? There are examples here

https://github.com/Alfresco/alfresco-java-sdk/tree/develop/samples/event-api-handlers

but it does not touch base on error handling. 

It seems that the event will be resent a few more times in the case of runtime exception. Not sure how and where this is configured. Will the message go to the DLQ in ActiveMQ if all retries fail?

Thanks.