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年前