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 » Dead Letter Queue

Post new topic  Reply to topic
 Dead Letter Queue « View previous topic :: View next topic » 
Author Message
irony
PostPosted: Tue Jan 17, 2006 7:20 am    Post subject: Dead Letter Queue Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

Hello,
I need to make all messages hitting DLQ 'persistent', and then investigate the messages.
One way of doing would be to move the messages to another queue making the messages persistent, and then putting them back to DLQ so that the DLQH can do its job.
Is this feasible ? does any one have the code for this ready ?
any help would be appreciated.
thanks,
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jan 17, 2006 7:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

If you're putting the messages to a second queue, why not just have the DLQ handler process that second queue? I think thats cleaner that trying to put the message back to the original DLQ.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Tue Jan 17, 2006 7:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

And if you're going to the trouble to move the messages in the first place, you might as well put in a small bit of filtering logic to put important messages in one queue, and less important messages in another.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Jan 17, 2006 7:55 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

and if you're going to tell us about your environment we could maybe answer the question about a existing tool to perform this kind of message-move-and-persistence-change.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
irony
PostPosted: Tue Jan 17, 2006 8:05 am    Post subject: reg: DLQ Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

Hi Butcher,
I am running MQ on Solaris.
thanks,
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jan 17, 2006 8:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

The "q" program (ma01) should do it:
Code:

q -ap -I SYSTEM.DEAD.LETTER.QUEUE -o MY.DLQ

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Cliff
PostPosted: Tue Jan 17, 2006 8:35 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

Do you really need to change the persistence of the messages? By specifying non-persistent messages, the application architect has accepted that under certain circumstances WMQ will throw the data away. If you make the messages persistent then they will certainly survive a queue manager restart, but if you need to reinput them to the application then presumably you will have to reinstate the original persistence. Are you sure this is what you want?

Just a thought ...

Cheers -
Cliff
Back to top
View user's profile Send private message Send e-mail
irony
PostPosted: Tue Jan 17, 2006 8:52 am    Post subject: reg: DLQ Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

hi cliff,
Yes that is exactly what i need to to.

hi wschutz,
thanks. i think thats what i need.
to sum up, i need to write a script that runs the Q program, once a message hits the DLQ. Then i run the DLQH to process 'my.dlq'.
Am i missing anything here,
thanks,
irony
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 17, 2006 9:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could use triggering on the DLQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
irony
PostPosted: Tue Jan 17, 2006 1:13 pm    Post subject: reg DLQ Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

Thanks everybody.
I was able to get my job done.
Thanks for all the inputs.
irony
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 » Dead Letter Queue
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.