Posted: Sun Feb 03, 2008 7:17 pm Post subject: Flow looping
Newbie
Joined: 08 Jan 2008 Posts: 3
Code:
(1) (2) (3)
HTTPInput Node -----> Compute Node -----> MQOutput Node
|
+------------+ <<--this is a catch from (1) to (5)
|
V
(6) (5) (4)
HTTPReply Node <----- Compute Node <----- MQInput Node
I kind of encounter the dreaded looping error and this is how I encountered it.
I set-up the toolkit so that I can debug this flow. Add a breakpoint in node (1) and Node (4).
I have a unit test that calls the web service.
I followed this steps..
1. I run my unit test. Just after I called my unt test, I can see that the message flow stop at (1) breakpoint.
2. I clicked on the resume. Which means that
3. I cancelled (Ctrl+alt+del) my unit test just before the response arrives in (4). Then I noticed the breakpoint arrives in (4).
4. I clicked on the resume.
This is when I noticed that the flow is looping. What is the most appropriate action to handle this scenario? Is this case the same when the client (in this case my unit test) receives a connection timeout?
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