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 » To Move message from dead letter queue

Post new topic  Reply to topic
 To Move message from dead letter queue « View previous topic :: View next topic » 
Author Message
MQnewbee
PostPosted: Wed Nov 02, 2005 4:52 pm    Post subject: To Move message from dead letter queue Reply with quote

Newbie

Joined: 17 Oct 2005
Posts: 7
Location: USA

The following command is executed
ALTER QLOCAL(QUEUEA) BOQNAME(SYSTEM.DEAD.LETTER.QUEUE)

Is this command to physically remove message from QueueA to dead letter queue?

I execute the command to remove the message back from dead letter queue to QUEUEA,
ALTER QLOCAL(SYSTEM.DEAD.LETTER.QUEUE) BOQNAME(QUEUEA)

How come the messages still stay in the dead letter queue?

Thanks!
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Nov 02, 2005 4:57 pm    Post subject: Reply with quote

Jedi Knight

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

No, the BOQNAME is really only for informative purposes on the quue. MQ will not do anything with that, its up to an application to use that information to put poisoned messages on the named queue (as Broker does)

Look at the MA01 supportpac ("q" program) to move messages between queues.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
MQnewbee
PostPosted: Wed Nov 02, 2005 6:02 pm    Post subject: Move messages from dead letter to local queue Reply with quote

Newbie

Joined: 17 Oct 2005
Posts: 7
Location: USA

Thanks.

when I executed the command
ALTER QLOCAL(QUEUEA) BOQNAME(SYSTEM.DEAD.LETTER.QUEUE)

the messages in queue QUEUEA exactly got moved to the dead letter queue. And now I want to move the messages from the dead letter queue to QUEUEA to reprocess it. How can I accompolish that? Any suggestions
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Nov 02, 2005 6:07 pm    Post subject: Reply with quote

Jedi Knight

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

Quote:
when I executed the command
ALTER QLOCAL(QUEUEA) BOQNAME(SYSTEM.DEAD.LETTER.QUEUE)

the messages in queue QUEUEA exactly got moved to the dead letter queue
No, issuing the command DOES NOT CAUSE MESSAGES TO BE MOVED. Are you using the MQ Broker?

Do a search for "runmqdlq" in the info center:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Wed Nov 02, 2005 8:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

wschutz wrote:
Quote:
when I executed the command
ALTER QLOCAL(QUEUEA) BOQNAME(SYSTEM.DEAD.LETTER.QUEUE)

the messages in queue QUEUEA exactly got moved to the dead letter queue
No, issuing the command DOES NOT CAUSE MESSAGES TO BE MOVED. Are you using the MQ Broker?

Do a search for "runmqdlq" in the info center:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp


I suspect he is using WAS and specified a bothresh.
You cannot play around with messages like this and should NEVER specify the DLQ as a BOQ. The reason is that WAS does not put any header on msgs written to the BOQ. Thus you would not be able to use runmqdlq on those msgs.

WAS however will backout the msgs to the DLQ with a DLQ header IF NO BOQ IS DEFINED.

Enjoy
Back to top
View user's profile Send private message Send e-mail
MQnewbee
PostPosted: Wed Nov 02, 2005 10:08 pm    Post subject: Remove messages from dead letter queue Reply with quote

Newbie

Joined: 17 Oct 2005
Posts: 7
Location: USA

Thanks for info.


The environment is WebSphere MQ server in Solaris.
The curdepth in dead letter queue increased after executing the command. Messages indeed were moved to the dead letter queue.

Is there anyway to move back the messages from the dead letter queue back to the local queue?

What command to use to remove a particular message from dead letter queue?

Thanks.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Nov 02, 2005 11:05 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
The curdepth in dead letter queue increased after executing the command

Then something else caused that. As Wayne pointed out:
Quote:
issuing the command DOES NOT CAUSE MESSAGES TO BE MOVED

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Nov 03, 2005 2:43 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
you can use of the following support packs (programs) to move messages from one queue to another.

MA01 or MO71 or MO03
http://www-306.ibm.com/software/integration/support/supportpacs/product.html#wmq

There is no command within mq itself for moving messages.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » To Move message from 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.