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 » How to repost messages with higher priority after expiration

Post new topic  Reply to topic
 How to repost messages with higher priority after expiration « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Mon May 09, 2005 7:14 am    Post subject: How to repost messages with higher priority after expiration Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

We have messages being placed on a queue that have an expiry field set. If these messages expire we would like to repost them with a higher priority.

What is the best way to achieve this functionality?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 09, 2005 7:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Report With Full Data.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Mon May 09, 2005 11:32 am    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

First off thanks jefflowrey!

I have read up somewhat on the report field, but do not totally understand how it works.

Do i set the report options to MQRO_EXPIRATION_WITH_FULL_DATA and MQRO_DEAD_LETTER_Q?
Then when the message expires it will be placed on the dead letter queue?
After it is on the dead letter queue have the dead-letter queue handler place it back on the queue with a incremented priority?

Is this how this feature works?

I appreciate any guidance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 09, 2005 12:59 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I might prefer to use a Reply To Queue instead of the Dead Letter Queue, since you likely want to make note of the fact that the message expired and got retransmitted - and that's app logic, not something for a DLQH to do.

Also, I prefer to use the DLQ for messages that are really DEAD, not just "mostly dead" like in your scenario.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Thu May 12, 2005 11:54 am    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

I was able to use report options to send a message to another queue after expiration. Although we have multiple queues that will each use this queue to post their expired messages. We want these messages to be reposted to their original queues with a higher priority.

How can we know which queue these messages came from?

Does anyone know the suggested way to solve this?
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 » General IBM MQ Support » How to repost messages with higher priority after 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.