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 » Aggregate Reply, Timeout Exception

Post new topic  Reply to topic
 Aggregate Reply, Timeout Exception « View previous topic :: View next topic » 
Author Message
raghubegur
PostPosted: Fri Apr 14, 2006 1:34 pm    Post subject: Aggregate Reply, Timeout Exception Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Hi,

WBIMB : 6.0.0.0

AggregateReplyNode : Timeout terminal connected to a compute node where I throw a exception.
AggregateReplyNode : Catch terminal connected to myexceptionHandler.

Whenever there is a aggregate timeout, the msg reaches the compute node where I throw the exception. The msg then is expected to take the catch path. But it is going back to the timeout path. Infinite loop.

Any answers ?

Cheers,
Raghu
_________________
Cheers
Raghu
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Apr 14, 2006 1:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If a message sent down the timeout thread causes an exception, the message rolls back to the AggregateReply node and is sent to the catch terminal. If this terminal is either unattached or an exception occurs while processing the message, the timeout is rolled back onto the internal queue and is reprocessed. Potentially, this will lead to an infinite loop which can only be stopped either by removing the timeout message from the internal queue (not recommended), or by deploying a version of the messages flow that fixes the problem.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
raghubegur
PostPosted: Fri Apr 14, 2006 3:58 pm    Post subject: Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Hi,

I understand that. The catch terminal is connected to my error handling routine which currently handles all exceptions thrown anywhere in my flow.

The problem is this : When I throw an exception down the 'TimeOut' path the message is getting rolled back to the aggregate reply node. The behaviour then, per documentation, should be to take the 'catch' path. It is NOT happening. It is going again on the 'TimeOut' thus creating a infinite loop.

Cheers,
Raghu
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Apr 14, 2006 5:33 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

raghubegur wrote:
When I throw an exception down the 'TimeOut'


jefflowrey wrote:
If a message sent down the timeout thread causes an exception

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
raghubegur
PostPosted: Fri Apr 14, 2006 7:09 pm    Post subject: Reply with quote

Apprentice

Joined: 15 Jul 2002
Posts: 45

Code:
If this(CATCH) terminal is either unattached or an exception occurs while processing the message, the timeout is rolled back onto the internal queue and is reprocessed


The catch terminal is attached to a error handler. There is no exception condition within the error handler.

Thanks,
Raghu
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Aggregate Reply, Timeout Exception
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.