[Quick Tip] Disable TomEE/OpenEJB stat interceptor

TomEE and OpenEJB add by default an interceptor on each EJB to report basic metrics through JMX.

If you don’t want it you can disable it easily.

You basically just need to add the system property (in conf/system.properties to keep it persistent):

openejb.stats.interceptor.disable = true

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s