Posted: Mon Mar 02, 2009 12:20 pm Post subject: Retrieving .msgflow from a compiled and deploy cmf file
Apprentice
Joined: 25 Jul 2005 Posts: 33
I have a situation where I dont have the source code for a message flow that is currently deployed to the broker environment. Is it possible via a tool or custom steps to recreate the .msgflow and .esql files from the deployed cmf file?
well as far as my knowledge goes ... I dont think so that we can retrieve code from the deployed code in the broker .. and am also not aware of any tool that does that ... sorry you might be in trouble ...
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
The simple answer is No But
With the help of user trace, patience and taking a logical approach to the matter it can be done. At the end you will be able to recode a flow that will although not identical to the original, it will give you something that works.
What you do it as follows:-
1: Configure User Trace
2: Send a Good Message through the flow
3: Get the output and you will see all the ESQL statements that were executed.
Then you do the same with lots more messages to simulate ALL the possible paths through the flow. You can see many of the conditionals (If then else) and you tailor your messages so that you take these branches.
You will also see the types of nodes that the messages pass through. From this you can build up a conection diagram and the ESQL code underneath.
When this is done, and you have coded the new flow you can test it. This time most of the changes are to the properties in the nodes that you can't see but you can observe the results.
Otherwise, you will just have to start from scratch and recode the flow from first principles.
Either way, good luck. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum