ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Testing a flow with a timer node ?

Post new topic  Reply to topic
 Testing a flow with a timer node ? « View previous topic :: View next topic » 
Author Message
my_mqmb
PostPosted: Tue Nov 19, 2013 2:42 am    Post subject: Testing a flow with a timer node ? Reply with quote

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
View user's profile Send private message
vishnurajnr
PostPosted: Tue Nov 19, 2013 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Tue Nov 19, 2013 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Simbu
PostPosted: Tue Nov 19, 2013 3:16 am    Post subject: Reply with quote

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
View user's profile Send private message
my_mqmb
PostPosted: Tue Nov 19, 2013 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 19, 2013 3:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can use the TimeoutControl node to trigger a timeout notification node

http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html
Back to top
View user's profile Send private message
my_mqmb
PostPosted: Tue Nov 19, 2013 3:57 am    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

mqjeff wrote:
You can use the TimeoutControl node to trigger a timeout notification node

http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html



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
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 19, 2013 8:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

my_mqmb wrote:
mqjeff wrote:
You can use the TimeoutControl node to trigger a timeout notification node

http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html



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
View user's profile Send private message
my_mqmb
PostPosted: Tue Nov 19, 2013 11:21 pm    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

mqjeff wrote:
my_mqmb wrote:
mqjeff wrote:
You can use the TimeoutControl node to trigger a timeout notification node

http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html



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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Testing a flow with a timer node ?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.