MQ

Snooping Related Admin APIs

Almost all Snooper configuration settings can be accessed or edited through a program using Admin APIs. For an application to access this function, it must create an admin connection and obtain a reference for the MQSnooperService. The steps in establishing this connection are given below:

// Lookup Admin Connection Factory
AdminConnectionFactory acf = 
(AdminConnectionFactory) ic.lookup ("primaryACF"); 
// Create Connection 
MQAdminConnection ac = acf.createAdminConnection ("admin", "password"); 
// Get MQ Snooper Service
MQSnooperService snooperService = ac.getSnooperService ();
// do the desired operations through snooper Service


Details of APIs available in the Snooper Service can be found in Java Docs supplied along with the FioranoMQ installer.