4 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
I'm not sure what generic solution would help here. Due to the size limit some information must be lost. IMHO logging the exception from the activity and returning a different exception that misses the stack trace (or part of it) is a reasonable workaround.
con risposta 5 anni fa
0
Thank you Maxim!
Is there any standard mechanism to implement a "stardard global" exception handler in between completion of activity and activity worker process?
Thank you
con risposta 5 anni fa
0
It looks like (https://github.com/aws/aws-swf-flow-library/blob/master/src/main/java/com/amazonaws/services/simpleworkflow/flow/pojo/POJOActivityImplementation.java#L100) that DataConverter is used to serialize the exception. So you can create a custom DataConverter to implement this logic.
con risposta 5 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa