Author |
Message
|
Mohamed Ismail |
Posted: Tue Mar 21, 2006 3:25 am Post subject: Delete a Message from Queue |
|
|
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 |
|
 |
elvis_gn |
Posted: Tue Mar 21, 2006 3:37 am Post subject: |
|
|
 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 |
|
 |
Mohamed Ismail |
Posted: Tue Mar 21, 2006 3:40 am Post subject: |
|
|
Newbie
Joined: 21 Mar 2006 Posts: 3
|
hi,
am sorry, i couldnt find the samples... let me know where it is. |
|
Back to top |
|
 |
javagate |
Posted: Tue Mar 21, 2006 3:46 am Post subject: Re: Delete a Message from Queue |
|
|
 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 |
|
 |
Mohamed Ismail |
Posted: Tue Mar 21, 2006 3:52 am Post subject: |
|
|
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 |
|
 |
nathanw |
Posted: Tue Mar 21, 2006 3:55 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Mar 21, 2006 4:45 am Post subject: |
|
|
 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 |
|
 |
|