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 » Delete a Message from Queue

Post new topic  Reply to topic
 Delete a Message from Queue « View previous topic :: View next topic » 
Author Message
Mohamed Ismail
PostPosted: Tue Mar 21, 2006 3:25 am    Post subject: Delete a Message from Queue Reply with quote

Newbie

Joined: 21 Mar 2006
Posts: 3

Hi All,
could you please help me to delete a particular message from a queue.
Assume that i have 10 msgs in a queue, I wanna delete 7th msg, plase let me know how can i do it.. send me is there any code snippet or document.

please note i am using MQ / JMS.

thanks in advance.
Ismail.
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Tue Mar 21, 2006 3:37 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Mohamed Ismail,

Look in the samples above...u should find something, u might need to tweak the sample a little...

Regards.
Back to top
View user's profile Send private message Send e-mail
Mohamed Ismail
PostPosted: Tue Mar 21, 2006 3:40 am    Post subject: Reply with quote

Newbie

Joined: 21 Mar 2006
Posts: 3

hi,
am sorry, i couldnt find the samples... let me know where it is.
Back to top
View user's profile Send private message Send e-mail
javagate
PostPosted: Tue Mar 21, 2006 3:46 am    Post subject: Re: Delete a Message from Queue Reply with quote

Disciple

Joined: 15 Nov 2004
Posts: 159

Mohamed Ismail wrote:
Hi All,
could you please help me to delete a particular message from a queue.
Assume that i have 10 msgs in a queue, I wanna delete 7th msg, plase let me know how can i do it.. send me is there any code snippet or document.

please note i am using MQ / JMS.

thanks in advance.
Ismail.


what is the purpose for wanting to delete the 7th message
_________________
WebSphere Application Server 7.0 z/OS &
MQ 6.0. I work with WebSphere in the real world not in some IBM lab.
Back to top
View user's profile Send private message
Mohamed Ismail
PostPosted: Tue Mar 21, 2006 3:52 am    Post subject: Reply with quote

Newbie

Joined: 21 Mar 2006
Posts: 3

well, we have an error queue, which will contain the msgs which are not processed for various reasons ( validations ).

There are two requirements.

1. to remove a particular msg from the error queue.
2. route the a selected msg to another queue for re-processing.

for both the requirements i am looking for help retrieve a particular msg from the list of messages.

Hope you understand.
Back to top
View user's profile Send private message Send e-mail
nathanw
PostPosted: Tue Mar 21, 2006 3:55 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

think it is more along the lines of deleting a specific message not necessarily the 7th

Mohamed the samples are at the top of the screen

hover your mouse on Repository and pick the code language yu like
Back to top
View user's profile Send private message MSN Messenger
fjb_saper
PostPosted: Tue Mar 21, 2006 4:45 am    Post subject: Reply with quote

Grand High Poobah

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

And you might want to look as well at the default dead letter queue handler:
runmqdlq.

Enjoy
_________________
MQ & Broker admin
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 » Delete a Message from 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.