If you modify any multicast or interbroker settings with the workbench, a broker configuration deployment is automatically initiated when the changes are applied.
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.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
af35110_ |