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 » Can message expiry be turned off?

Post new topic  Reply to topic
 Can message expiry be turned off? « View previous topic :: View next topic » 
Author Message
manga
PostPosted: Wed Jan 10, 2007 10:19 am    Post subject: Can message expiry be turned off? Reply with quote

Newbie

Joined: 09 Aug 2006
Posts: 4

Hi,
I have a question about expiry.

I use WMQ v5.3 (Linux).

I need to retain for later use the messages sent by some external applications.
I used the api exit "mirrorq" to duplicate messages from the local queue in which the appl. do the PUT (and another external appl. at the other side do the relate GET), to a "mirror queue" where I want to retain messages until I get them for backup purposes.
The problem is that one of these appl. using my WMQ server put messages with expiry time set ( != -1), so I'm not able to mirror this kind of messages since messages copies in mirror queue expires too.

Is it possible to reset (bring it back to -1) the message expiry field for messages inserted in a specific queue?
All is to be done "server side" since I cannot change the behaviour of the client applications.
Thanx
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 10, 2007 10:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can look at mirrorq source code, and edit it to always reset the expiry time on the mirrored messages.

The only other way would be to write a server side program that would destructively move messages from the mirrorq to another queue and change the exipry time.

There isn't a way to tell WMQ not to expire messages.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Jan 11, 2007 1:08 am    Post subject: Reply with quote

Jedi Knight

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

if it's just the content you are looking for have a look at rfhutil (IH03) or Q (MA01)
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Can message expiry be turned off?
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.