Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/Op6vRSDY2C8 Import Date: 2016-01-19 21:06:32 +0000.
Sender:Khirod Kant Naik.
Date:Monday, 16 February 2015 05:43:11 UTC.
I’m trying to register a custom Event Handler when using API definitions from DB. I want to invoke the event handler when RateLimitExceeded Event occurs. I tried to modify the db API definition in collection tyk_apis in database tyk_analytics. However when I restart Tyk I can see that the event handler is not loaded since I can’t see the log message on loading of Handler.
The event_handler and API definition in MongoDB is attached.