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 » General Discussion » Is there a time limit in trying to send a message

Post new topic  Reply to topic
 Is there a time limit in trying to send a message « View previous topic :: View next topic » 
Author Message
Vishy
PostPosted: Mon Aug 11, 2003 7:53 am    Post subject: Is there a time limit in trying to send a message Reply with quote

Novice

Joined: 30 Jul 2003
Posts: 21

Hi,

Is there is any parameter for time limit that can be set for a specified time in trying to send a message in the Q. ( say for ex, time limit in trying to connect, time limit in trying to put the message etc) Thanks in advance

Vishy
Back to top
View user's profile Send private message Yahoo Messenger
skn
PostPosted: Mon Aug 11, 2003 8:09 am    Post subject: Reply with quote

Centurion

Joined: 21 May 2003
Posts: 112
Location: Dallas

u could set the expiry time on the messages in the q using the MDEXP field in the message descriptor.
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Aug 11, 2003 10:03 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Sounds like that's something you should handle in your code.

You try and connect to the Queue Manager. You get an immediate response letting you know if it worked or failed. If it worked, fine. If it failed, you need to check the return code to see if it's an error that 'might' be resolved. Like Queue Manager not available because at 3am every day it's shut down for a backup. You then wait, and try again. After a number of tries you decide it really isn't there and you kill the application.

The same for a PUT to a Queue.

For a GET, you can specify how long MQ waits for a message, if none is available, before returning control back to your application..

Is that what you were after.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Vishy
PostPosted: Mon Aug 11, 2003 11:57 am    Post subject: Thanks Reply with quote

Novice

Joined: 30 Jul 2003
Posts: 21

Thanks for all your input. I wanted to know if there's any generic time limit other than the reason codes. Please excuse my ignorance as I am new to this technology
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Is there a time limit in trying to send a message
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.