Hello;

I would like to programatically disable "change notification" (JMS) if the JMS 
broker is not configured for the deployment.

> DataDomain dd = ...
> DataRowStore drs = dd.getSharedSnapshotCache();
> drs.getEventManager().removeAllListeners(drs.getSnapshotEventSubject());


It occurs to me that this could be dangerous if there are other listeners on 
the event manager for the DataRowStore -- is that ever likely to happen or will 
those listeners always be change notification listeners?

There does not seem to be an API for getting the listeners so I presume I can't 
work through them removing instances of JMSBridge?

Thanks for any help.

cheers.

___
Andrew Lindesay
www.silvereye.co.nz

Reply via email to