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 » TimeoutRequest.Action = 'CANCEL'

Post new topic  Reply to topic
 TimeoutRequest.Action = 'CANCEL' « View previous topic :: View next topic » 
Author Message
atommail
PostPosted: Tue Dec 01, 2009 7:06 am    Post subject: TimeoutRequest.Action = 'CANCEL' Reply with quote

Novice

Joined: 03 Nov 2009
Posts: 11
Location: Poland

Hello

I have TimeoutRequest.
Next (when I get message), I want to cancel TimeoutRequest (if I will not get message TimeoutRequest will be executed ).

My problem is that I get TimeoutRequest message after canceled.

Which things I should set?

My Code:
TimeoutRequest:
Code:

SET OutputLocalEnvironment.TimeoutRequest.Identifier = id;
SET OutputLocalEnvironment.TimeoutRequest.Action = 'SET';
SET OutputLocalEnvironment.TimeoutRequest.IgnoreMissed = FALSE;
SET OutputLocalEnvironment.TimeoutRequest.AllowOverwrite = FALSE;
SET OutputLocalEnvironment.TimeoutRequest.StartTime = CAST(startDateTime AS TIME);
SET OutputLocalEnvironment.TimeoutRequest.StartDate = CAST(startDateTime AS DATE);
SET OutputLocalEnvironment.TimeoutRequest.Interval=0
SET OutputLocalEnvironment.TimeoutRequest.Count=1


Cancel TimeoutRequest:
Code:

SET OutputLocalEnvironment.TimeoutRequest.Identifier = id;
SET OutputLocalEnvironment.TimeoutRequest.Action = 'CANCEL';


In log I see the same id in TimeoutRequest message and in Cancel TimeoutRequest message.
Should I set something more in Cancel TimeoutRequest message?
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Dec 01, 2009 7:29 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Does your cancel happen successfully ???? i mean any error message / exceptions ???

also when you execute cancel, do you see decrease in depth of SYSTEM.BROKER.TIMEOUT.QUEUE ???
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
atommail
PostPosted: Tue Dec 01, 2009 11:58 pm    Post subject: Reply with quote

Novice

Joined: 03 Nov 2009
Posts: 11
Location: Poland

I've already resolved problem
I had choosen passing only Message instead of LocalEnvironment and Message in ComputeNode, so it generated error 4601 Navigation to chosen mesage location failed.

Sory about that.

AkankshA, thank's for your replay.
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 » TimeoutRequest.Action = 'CANCEL'
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.