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 » Timeout Notifications for when calling stored Procs

Post new topic  Reply to topic
 Timeout Notifications for when calling stored Procs « View previous topic :: View next topic » 
Author Message
bprasana
PostPosted: Wed May 05, 2010 12:18 pm    Post subject: Timeout Notifications for when calling stored Procs Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Hi,

We are calling a stored proc(DB2 9.x) from WMB 6.1. But we have a requirement to put timeout notification for this Stored Proc.

Eg: If a stored proc does not return any results bu 60 secs we need to send out timeout reply back to the sender

Is there a way we can control this in WMB?
How will the design pattern look like?

Thanks
Prasanna
Back to top
View user's profile Send private message
fatherjack
PostPosted: Mon May 10, 2010 7:22 am    Post subject: Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

Dunno how you can time out your stored procedure call (but I guess it might be a facility of the database) but to send a timeout back to the requestor you can do something like this:
1. Requestor makes request by putting message to MQ queue
2. He then does a MQGET with wait of 60 seconds on a reply queue
3. A broker flow reads the request queue and calls the stored procedure
4. If no response comes back from the stored procedure in 60 secs the MQGET with wait will time out.

Fr. Jack.
_________________
Never let the facts get in the way of a good theory.
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 » Timeout Notifications for when calling stored Procs
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.