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 IBM MQ Support » Message Expiry

Post new topic  Reply to topic
 Message Expiry « View previous topic :: View next topic » 
Author Message
Heidils
PostPosted: Thu Jul 10, 2003 4:28 am    Post subject: Message Expiry Reply with quote

Novice

Joined: 25 May 2003
Posts: 11
Location: SA

We are using WMQI 2.1 for our message flows and are getting various messages from a 3rd party with an expiry time of 65 seconds on a generic input queue. This expiry time is only required for messages coming into the system (SLA) but it seems that we are 'loosing' the response messages due to this expiry time set.

I have added a compute node in the flow just before the output node with the code Set OutputRoot.MQMD.Expiry = -1 This seems to be working but what I would like to know is, is the right place to do this? Is there a better place or way to do this?

Also what would happen to a message with an expiry time set, of say 60 seconds, and where the message flow / processing of the message takes longer than the set expiry time. Is it possible that this message could be lost or does the expiry time only apply to the GET of the message from the queue.

Thanks!!!
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Jul 10, 2003 6:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

I assume these messages are 'requests' for information? and the expiry is set to 65 seconds and after that the requestor is no longer interested in the reply? Otherwise why set the expiry in the first place... or why would you reset the expiry to make sure the 'answer' gets back ?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kirani
PostPosted: Thu Jul 10, 2003 5:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Since you were not changing the expiry time on the reply messages before, your messages were getting lost (expired).

Yes, Compute node is the right place to reset the expiry time. I'd suggest you set some expiry time on the reply messages also. This will help in clearing the reply queue automatically if the client application is not available for receiving the reply messages. It would also depend on the type of reply messages. For critical reply messages, you would want to set unlimited expiry time.

I think the expiry time is applicable only when doing the MQGET and not while processing the message. Pls Correct me if I am wrong.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Heidils
PostPosted: Thu Jul 10, 2003 10:24 pm    Post subject: Reply with quote

Novice

Joined: 25 May 2003
Posts: 11
Location: SA

Thanks guys!

To clear up the expiry - we are doing real time processing of claims. Because of the nature of the business the providers does not want to wait for more than a minute for an answer and would rather send the request again. On the other hand if they are not available they still want the answer once we've processed the claim. Sounds mixed up but that's the business!!!

I'll let you know if we pick up problems with message expirying while we are processing but so far so good...
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Jul 10, 2003 11:04 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

hey that sounds familiar... I have heared requirements like that (also from Claim 'processors') of responses within seconds ... must be nerv wrecking business
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mrlinux
PostPosted: Fri Jul 11, 2003 6:16 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Is application that is processing the request just copying the mqmd from
the request into the response ????
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » General IBM MQ Support » Message Expiry
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.