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 » Remove single message from MQ Queue

Post new topic  Reply to topic
 Remove single message from MQ Queue « View previous topic :: View next topic » 
Author Message
balareddy
PostPosted: Wed Aug 29, 2007 1:57 am    Post subject: Remove single message from MQ Queue Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

Hello,

I wanted to remove 1 message from MQ Queue with MQ commands.
There is one mq command amqsget. but it will remove if the message length is smaller and it iwll remove all messages from the Queue.

All messages are bigger is size to use amqsget.

Please suggest is there any other option to remove only first message.
_________________
bala
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Wed Aug 29, 2007 2:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amqsget is not a command, it's an example program. You can recompile it with a bigger buffer if you want it to handle bigger messages.

Less bother might be to use one of the support packs (RFHUTIL, Q, etc, etc) if it's just a one off thing you're trying to do.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Aug 29, 2007 10:58 am    Post subject: Re: Remove single message from MQ Queue Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

balareddy wrote:
Please suggest is there any other option to remove only first message.

Hi,

There are lots of programs that will do this, please see:
http://www.capitalware.biz/mq_tools.html
http://www.capitalware.biz/mq_tools_comm.html

My favorite is MQ Visual Edit.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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