If you have modified runtime properties, including details of execution groups, and multicast and inter-broker settings, use a broker configuration deployment to inform the broker of your changes.
You do not need to deploy a broker configuration manually from the workbench. If you modify multicast or interbroker settings in the Broker Administration perspective, a broker configuration deployment starts automatically when you apply the changes. This process runs in the background.
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. By default, the deploy method performs an incremental (delta) deployment. To deploy the complete hierarchy, use a variant of the method that includes the Boolean isDelta parameter set to false. Setting this parameter to true indicates an incremental deployment.
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.