I am developing an application in Flex using the cairngorm module library and Parsley.
Parsley documentation chapter 5 says: “Interceptors may come in handy when you want to decide whether or not the message should be passed to handlers”.
When using the ModuleMessageInterceptor the above is not true. Which means that my MessageHandler receive the message before the MessageInterceptor.
Does anyone knows a work around?
Regards,
Fadi
The solution to this problem was extending the ModuleMessageInterceptor class as follows:
By doing the above we have added the order property to the ModuleMessageInterceptor which solve the problem I had.
Regards,
Fadi Mansour