If you modify any multicast or interbroker settings in the Broker Administration perspective, a broker configuration deployment starts automatically when you apply the changes.
Follow these steps to deploy a broker configuration using the mqsideploy command:
Next:
Continue by checking the results of the deployment.
Use the deploy method of the BrokerProxy class.
import com.ibm.broker.config.proxy.*; public class DeployBrokerConfig { public static void main(String[] args) { ConfigManagerConnectionParameters cmcp = new MQConfigManagerConnectionParameters ("localhost", 1414, "QM1"); try { ConfigManagerProxy cmp = ConfigManagerProxy.getInstance(cmcp); TopologyProxy t = cmp.getTopology(); BrokerProxy b = t.getBrokerByName("BROKER1"); if (b != null) { b.deploy(); } } catch (ConfigManagerProxyException e) { e.printStackTrace(); } } }
Next:
Continue by checking the results of the deployment.