WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Setting the position of a node
Use the Message Broker Java™ API to modify a pattern instance to set the position of a node on the canvas in the Broker Development view.
You can set the position of a node on the canvas by using
the setLocation() method of the node object. The
following example sets the position of a new MQOutput node to coordinates
x=300 pixels, y=100 pixels:
MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "main.msgflow");
MQOutputNode mqoutNode = new MQOutputNode();
mqoutNode.setLocation(300, 100);