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
Renaming a message flow
Use the Message Broker Java™ API when developing message flow applications to rename message flows.
You can write code to rename a message flow by using the setName() method.
In the following example, a message flow file called main.msgflow is
renamed to mainGenerated.msgflow:
File msgFlow = new File("main.msgflow");
MessageFlow mf1 = FlowRendererMSGFLOW.read(msgFlow);
mf1.setName(mf1.getName()+"Generated");