Hi,
I want to know more about the specifics of different states in the
interceptor chain to which an interceptor can be attached.
I have tried looking at the documentation but IMO it doesn't discuss it in
depth.
According to the test that I did, the state transition is as follows:
Server:
---------------------------
1. Inbound Message ->> receive ->> pre-stream ->> user-stream ->>
post-stream ->> read ->> pre-protocol ->>
user-protocol ->> post-protocol ->> un-marshal ->> pre-logical ->>
user-logical ->> post-logical ->>
pre-invoke ->> invoke ->> post-invoke ->>
2.->> setup ->> pre-logical ->> user-logical ->> post-logical ->>
prepare-send ->> pre-stream ->> pre-protocol ->>
write ->> marshal ->> user-protocol ->> post-protocol ->> user-stream ->>
post-stream ->> send ->>
post-stream-ending ->> user-stream-ending ->> post-protocol-ending ->>
user-protocol-ending ->> pre-protocol-ending ->>
pre-stream-ending ->> Outbound Message ->> post-logical-ending ->>
user-logical-ending ->> pre-logical-ending ->>
If possible, please let me know about the message transformation that takes
place.
Also, point me to any resource which discusses this in depth.
Couple more questions regarding interceptors:
How can I pass information between different layers of interceptors?
How can I modify the execution of a particular message during the message
flow since I don't see
any context which can be modified for the same. ?
Thanks !!
Regards,
Harbhanu