Home
Finding out about brokers
To find out about all brokers, a subscriber can specify a Topic parameter of, say, 'MQ/S/*/Publishers/Summary'. If no StreamName parameter is specified, this defaults to the default stream, which all brokers support. At least one message is received from each broker that is connected. More than one message might be received from a broker if the state changes. For efficiency, however, it is recommended to register a subscription with each broker individually.
To determine which brokers support a particular stream, the program can issue the Register Subscriber command to the SYSTEM.BROKER.ADMIN.STREAM at its local broker and specify an appropriate StreamSupport topic.
Home