Author |
Message
|
my_mqmb |
Posted: Tue Nov 19, 2013 2:42 am Post subject: Testing a flow with a timer node ? |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
Dears ,
How do i debug a flow that contains a timeoutnotification node ?
Do i have to deploy my flow everytime to recieve the trigger for starting the message flow (after the debugger is attached)
OR
is there any other way to start the trigger from the notification node ? |
|
Back to top |
|
 |
vishnurajnr |
Posted: Tue Nov 19, 2013 2:56 am Post subject: |
|
|
 Centurion
Joined: 08 Aug 2011 Posts: 134 Location: Trivandrum
|
The flow which starts with Timeout notification node will trigger on each interval it is been configured (Timeout Interval property). So you can keep it it on debugger and wait for next trigger to come.
Also it will trigger whenever you deploy/redeploy the flow. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Nov 19, 2013 3:00 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
vishnurajnr wrote: |
Also it will trigger whenever you deploy/redeploy the flow. |
IMHO this is not always true. It will trigger when the flow is started. You can re-deploy to a stopped flow (in some versions) and the newly deployed flow will not start until an explicit start command is received. _________________ 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. |
|
Back to top |
|
 |
Simbu |
Posted: Tue Nov 19, 2013 3:16 am Post subject: |
|
|
 Master
Joined: 17 Jun 2011 Posts: 289 Location: Tamil Nadu, India
|
smdavies99 wrote: |
vishnurajnr wrote: |
Also it will trigger whenever you deploy/redeploy the flow. |
IMHO this is not always true. It will trigger when the flow is started. You can re-deploy to a stopped flow (in some versions) and the newly deployed flow will not start until an explicit start command is received. |
Agree... Messsage Broker v8 has the capability to configure and control the runstate of the message flow or application with help of new Start Mode property. |
|
Back to top |
|
 |
my_mqmb |
Posted: Tue Nov 19, 2013 3:41 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
Sorry guys , this is not what i was looking for ..
i was wondering if there was any way to trigger this flow externally through system.timeout queues or a test client or anything of that sort .
keeping repeated cycle does not help , as i might be debugging and the other trigger arrives..
BTW i am on version 7 and depolying everytime for the node to sent out is rather annoying ... |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 19, 2013 3:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
my_mqmb |
Posted: Tue Nov 19, 2013 3:57 am Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
i am using control node , but my question is what to do if i need to send a message whenever i want and when the debugger is attached while i am testing the functionality of the complete flow . |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 19, 2013 8:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
my_mqmb wrote: |
i am using control node , but my question is what to do if i need to send a message whenever i want and when the debugger is attached while i am testing the functionality of the complete flow . |
Use an input node of some kind to feed a control node. |
|
Back to top |
|
 |
my_mqmb |
Posted: Tue Nov 19, 2013 11:21 pm Post subject: |
|
|
Voyager
Joined: 08 Jun 2011 Posts: 84
|
mqjeff wrote: |
my_mqmb wrote: |
i am using control node , but my question is what to do if i need to send a message whenever i want and when the debugger is attached while i am testing the functionality of the complete flow . |
Use an input node of some kind to feed a control node. |
yes , thanks ... thats what i eventually did. |
|
Back to top |
|
 |
|