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 to modify a pattern instance 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:
MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "main.msgflow");
mf1.setName(mf1.getName()+"Generated");