1.获取Mb属性localEnvironment属性。
2.创建设置该属性下的Destination属性。
3.创建设置该属性下的MQ属性。
4.创建设置该属性下的DestinationData属性。
5.创建设置该属性下的queueName属性。
MbElement localEnv = outAssembly.getLocalEnvironment().getRootElement(); //获取Mb属性localEnvironment属性。
MbElement Destination = localEnv.createElementAsLastChild(MbElement.TYPE_NAME_VALUE, "Destination", null); //创建设置该属性下的Destination属性。
MbElement MQ = Destination.createElementAsLastChild(MbElement.TYPE_NAME, "MQ", null); //创建设置该属性下的MQ属性。
MbElement DestinationData = MQ.createElementAsLastChild(MbElement.TYPE_NAME, "DestinationData", null); //创建设置该属性下的DestinationData属性。
DestinationData.createElementAsLastChild(MbElement.TYPE_NAME_VALUE, "queueName", ConstantDef.QUEUE_COMMON_ESBTOMMS_ONLINE_ESB); //创建设置该属性下的queueName属性。