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 » MSG EXPIRATION ...

Post new topic  Reply to topic
 MSG EXPIRATION ... « View previous topic :: View next topic » 
Author Message
kavithadhevi
PostPosted: Thu Aug 01, 2002 9:39 am    Post subject: MSG EXPIRATION ... Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi,
I nede some suggestions as how to handle this situation.
The situation is " Message is set with expiry time, after the time expires i dont want the messages to be dead but instead to go to another Local Queue to be able to retrieve them later. " Is this possible, i know it is but i am not sure how to achieve it . Your suggestions would be greatly appreciated and ASAP.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Thu Aug 01, 2002 10:01 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Set the Expiration with full data option in the report field and specify the queue you want the message to go to in the replytoqueue and replytoqueuemanager fields.

This report will not be generated when the message expires, but the first time an app does a get on the queue after the messages expires.

This option is not supported on OS/390 unless you are on MQ 5.3
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Thu Aug 01, 2002 11:43 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Hi,
THank you for your posting. Is this for the report message or for any normal message while using the expiration ? Please can you clarify it for me.
If you can , could you explain me pls. In the documentation, i could see only that i could set the msg to be report and the attribute as " MQC.... FULL DATA/ DATA" where should i set it. Please clarify it.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sgopal
PostPosted: Thu Aug 01, 2002 12:12 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Jul 2002
Posts: 63

Any normal message can be marked with Expiry report option (MQRO_EXPIRATION_WITH_FULL_DATA) before putting into queue.

You can set the option in MQMD_REPORT field of MQMD Header.
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Aug 01, 2002 2:33 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Wow... I had no idea you could do this! Guess you learn something every day.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
nimconsult
PostPosted: Thu Aug 01, 2002 10:12 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

There is a similar discussion on this topic:
http://www.mqseries.net/phpBB2/viewtopic.php?t=4253

You have to make sure that you will issue a MQGET where the expired message qualifies in order to trigger the report message. If you don't the expired message will stay on the queue forever (or with an unacceptable delay). Read the topic mentionned above.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Fri Aug 02, 2002 3:42 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Unfortunatly, there is only 1 replytoq and replytqmanager field in the MQMD, so if your original message is a request type message that needs its reply sent to a particular queue, its expired message reports will also have to go there.

If this is the case, design the app that recieves the replies normally to look at the message type field of the MQMD to determinbe if the message is a reply or a report. Or if you have MQSI, use it to route the messages based on msg type.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kavithadhevi
PostPosted: Fri Aug 02, 2002 12:19 pm    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Thank you all you for your postings here. It was really helpful for me to try successfully the task i wanted to.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MSG EXPIRATION ...
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.