4개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 5년 전
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
답변함 5년 전
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.
답변함 5년 전