$SYS/Broker/broker_name/Neighbor
where broker_name is the name of the broker
issuing this message.The body of each publication is an XML message that describes the change made.
These events are nonpersistent, non-retained publications.
Certain operations delete all neighbor (topology) information at a broker. In this case, the deleted neighbors are not published in the event publication. Instead, the body of the event publication contains a single XML tag that indicates that all neighbors have been deleted.
The following example event messages show a neighbor being created, changed, and deleted, together with an example of all neighbors being deleted.
Event publication topic = "$SYS/Broker/Broker1/Neighbor" <Broker uuid="1234" label="Broker1" version="1"> <ControlGroup> <DynamicSubscriptionEngine> <Create> <Neighbor name="5678" collectiveId=""> <MQBrokerConnection queueManagerName="nbr_QM_Name"/> </Neighbor> </Create> </DynamicSubscriptionEngine> </ControlGroup> </Broker>
Event publication topic = "$SYS/Broker/Broker1/Neighbor" <Broker uuid="1234" label="Broker1" version="1"> <ControlGroup> <DynamicSubscriptionEngine> <Change> <Neighbor name="5678" collectiveId="12345678-1234-1234-1234-123456789abc"/> </Change> </DynamicSubscriptionEngine> </ControlGroup> </Broker>
Event publication topic = "$SYS/Broker/Broker1/Neighbor" <Broker uuid="1234" label="Broker1" version="1"> <ControlGroup> <DynamicSubscriptionEngine> <Delete> <Neighbor name="5678"/> </Delete> </DynamicSubscriptionEngine> </ControlGroup> </Broker>
Event publication topic = "$SYS/Broker/Broker1/Neighbor" <Broker uuid="1234" label="Broker1" version="1"> <ControlGroup> <DynamicSubscriptionEngine> <Delete> <AllNeighbors/> </Delete> </DynamicSubscriptionEngine> </ControlGroup> </Broker>
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
au19690_ |