I want to calculate the execution time which my mule flow takes for execution,so I have used interceptor for it, here is my interceptor code
class CustomLogg
I can't advise to use an AbstractEnvelopeInterceptor for two reasins, it's not part of the public API and they don't do exactly what you want, as per:
EnvelopeInterceptor is an intercepter that will fire before and after an event is received.
Have you considered using server notifications?