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 » connection loss to sql table

Post new topic  Reply to topic
 connection loss to sql table « View previous topic :: View next topic » 
Author Message
vinbud117
PostPosted: Thu Oct 13, 2005 5:23 am    Post subject: connection loss to sql table Reply with quote

Acolyte

Joined: 22 Jul 2005
Posts: 61

The database is on another system. At times, the message flow cannot establish the connection and hence sends the message to the error queue, which is totally understandable.

If I pick this message and put it again it is processed successfully. What this means is that the problem of not getting the connection is temporory.

What can be done to avoid the failure???? is there any way where in i can have the message reprocessed automatically after sometime, say a few minutes.

regards,
Vinay.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 13, 2005 5:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't have it reprocessed after some time, without writing code of some sort.

If you set up a backout queue and a backout retry count, you can have it reprocessed immediately, which might be enough to get it to succeed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vinbud117
PostPosted: Thu Oct 13, 2005 6:05 am    Post subject: Reply with quote

Acolyte

Joined: 22 Jul 2005
Posts: 61

will it go to the backout queue even when the Error terminals are connected to the SUB_ERROR_HANDLER. In my scenario, all failure terminals are connected to the error handling subflow.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 13, 2005 6:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, you'd probably have to change your error handling somewhat.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Oct 13, 2005 3:14 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Quote:
You can't have it reprocessed after some time, without writing code of some sort.

Maybe this is something for the new WMB 6 Timeout nodes

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ac20800_.htm

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Thu Oct 13, 2005 3:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

re Timeout nodes:

I'm playing with a programming pattern where-by you connect the "catch" node to a TimeoutControl node, which allows you to specify a period of time you want to wait. After that time expires, a TimeoutNotification node can propagate the original message again to the original flow.

Of course, its more complicated that what I just describe. You need to build a timeoutcontrol message to specify the wait interval, you probably want a filter node to do this for only certain exceptions (like db unavilable) and to prevent "poison" messages, and some small shuffling of the original message, but it should work nicely.


_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » connection loss to sql table
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.