Raymond Ng 2012-10-01, 12:03
-Re: understanding on interceptor
Hari Shreedharan 2012-10-01, 15:59
Yes. That is correct and that is exactly how it was intended to be.
On Monday, October 1, 2012, Raymond Ng wrote:
> I'd like to know if an interceptor gets invoked before or after the source
> is invoked
> I'm using a custom interceptor in my solution to drop events and I have
> some custom logic in my source to report stats, and it seems to me that the
> source was getting invoked for the events that should've been dropped by
> the interceptor, however these events didn't appear in the channel which is
> what I expected, but it looks to me inteceptors are sitting between a
> source and a channel rather than it being invoked before a source. Is that
> correct and how it was intended?
Prajakta Bavikar 2012-10-11, 05:02