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 » IBM MQ Java / JMS » Time-to-live set on MQ7.5 through JMS is not reliable

Post new topic  Reply to topic
 Time-to-live set on MQ7.5 through JMS is not reliable « View previous topic :: View next topic » 
Author Message
henry_chuo1
PostPosted: Mon Dec 14, 2015 11:18 pm    Post subject: Time-to-live set on MQ7.5 through JMS is not reliable Reply with quote

Novice

Joined: 13 Nov 2014
Posts: 11

Hi all,

I set time-to-live to 5 mins on MQ 7.5 through JMS message producer,however, the message does not expire after 5 mins, it only expired only after around 8 mins by monitoring the curdepth of the queue. Does it mean that setting this field is not reliable for ensuring the message expires after the value set? Any hint is appreciated. Thanks.

Henry
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Dec 14, 2015 11:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

There are a number of discussions in this forum about Expired messages.

Take a look at them.

When you browse the message after posting does the Expity field have a decreasing value? If so then you can work out the actual time that value will hit zero. After that, the message will no longer ve available to read BUT may still be present according to the QDepth. At some time later MQ will get around to getting rid of the expired messages.

The important thing is to measure how long the message is available to be read from the queue.
You could devise a series of simple tests to test out your theory and prove it one way or another.

If by some chance that the message is available to be read after the set expiry time then you have all the data needed to raise a PMR.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » IBM MQ Java / JMS » Time-to-live set on MQ7.5 through JMS is not reliable
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.