Hi folks,
This is sort of a continuation of a previous thread with Andy Scott. Andy so kindly put together this blog post demonstrating how to create custom HTML Helpers using Interception Points. - http://www.andyscott.id.au/blog/using-interceptors-in-coldbox-for-greater-scalabaility
So essentially I’m trying to use this technique to Add New Relic’s “Real User Monitoring” to all of my apps. See - https://newrelic.com/docs/java/real-user-monitoring-in-java
Here is a Gist I put together with my interceptor and plugin code: https://gist.github.com/nolandubeau/057b94e0df24231d0d8c
In my layout I have added the following before the HEAD tag closes - #cr.event(“custom_beforeHeadEnd”)#
The issue is that nothing seems to be happening. I have logging in place for the interception points and I have registered the interceptor in my Coldbox config - ,{class=“platform.common.interceptors.NewRelic”}, yet nothing is logged to logbox or rendered to the HTML.
Can anyone see what i’m doing wrong? Have I missed something?
Thanks.
Nolan