Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This task is to add validation mechanisms in the code so that issues such as https://issues.apache.org/jira/browse/TINKERPOP-2374 can be proactively caught in the future.
There are two mechanisms that can be created to validate handler order:
1. Add logic to validate that the pipeline has been setup at runtime. We might want to leverage the finalize method in AbstractChannelizer. Note that this wouldn't catch pipeline setup issues where it is modified dynamically based on message information while processing the message.
2. Add tests to validate the pipeline through which a message is executed. It is not easy to do this today and we would need to expose pipeline details to these tests for validation.