A plug-in processor example is provided below for reference:
package com.example.notif; import com.vmware.smarts.notif.api.notifEventDataAccessor; import com.vmware.smarts.notif.api.notifEventProcessor; public class MyNotifPlugin implements notifEventProcessor { // process gets called for each event matched to the ECI public void process ( notifEventDataAccessor eda ) { // if VarBind1 (aka V1) has value 'DiscardMe', // discard this event final String vb1 = eda.getVarbindValue ( 1 ); if ( vb1.equals ( "DiscardMe" ) ) { eda.setDiscardTrap ( true ); } } }