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 » TimeoutNotification set to automatic fires only once

Post new topic  Reply to topic
 TimeoutNotification set to automatic fires only once « View previous topic :: View next topic » 
Author Message
diego_maradona21
PostPosted: Mon Aug 11, 2008 1:44 am    Post subject: TimeoutNotification set to automatic fires only once Reply with quote

Novice

Joined: 24 Jul 2008
Posts: 17

Hi
I have to start message flow only once. I mean i need to start it immediately after deploy. I thought that TimeoutNotification node set to Automatic would do the trick but i cannot disable it just after it is fired (i could only disable nodes that are set to controlled).

Any suggestions?
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Aug 11, 2008 2:21 am    Post subject: Re: TimeoutNotification set to automatic fires only once Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

diego_maradona21 wrote:
Hi
I have to start message flow only once. I mean i need to start it immediately after deploy. ?


The message flows get started automatically the moment you deploy them...


Not clear with the reqt of TimeOtNotification node here
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
diego_maradona21
PostPosted: Mon Aug 11, 2008 3:17 am    Post subject: Reply with quote

Novice

Joined: 24 Jul 2008
Posts: 17

ok so i will try to explain.

i have message flow that has to feed db table with some data. i have to repeat it after some time interval (different each flow so i have to control it by TimeoutNotification node set to controlled (named GetData_Time) - sometimes it's time interval is set to 100 sec, sometimes 120 sec etc) - i have no problem with that but i want to Fire it for the very first time cause when i use TimeoutNotification node set to controlled as very first node it wont be fired automatically. i have to trigger that flow so it feed table and set time interval on GetData_Time so it will now manage repeating of this operation. I tried to set TimeoutNotification set to Automatic as first node to start the whole operation, but i can't stop it - it will repeat and GetData_Time will be repeated also.
So what i have to do is set TimeoutNotification node (Automatic) as very first node and right after it is triggered - CANCEL it.
Back to top
View user's profile Send private message
sridhsri
PostPosted: Mon Aug 11, 2008 4:49 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

You could try setting a very large timeout interval for the TN Node. I believe the max value is 1 short of 1 million.
Back to top
View user's profile Send private message
vaibhav_vy
PostPosted: Wed Aug 13, 2008 9:22 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2008
Posts: 28

Even using very large timeout wont solve this problem as eventually it will be triggered after that.

What you can do is make use of Cache nodes. These nodes are available as fixpack IA91. When the first time your flow triggers, you can check whether it gets triggered in past by checking value in the Broker Cache. If its not set, it means its first invocation. Then set cache variable in Broker Cache. You can set it either at execution group level or Broker domain level as per your requirement. Next time when it will be triggered, value will be available in cache & you can terminate the flow there.
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 » TimeoutNotification set to automatic fires only once
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.