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 » WebSphere Message Broker (ACE) Support » Message Remains on the queue

Post new topic  Reply to topic
 Message Remains on the queue « View previous topic :: View next topic » 
Author Message
nagamalli
PostPosted: Sun Aug 08, 2004 5:00 pm    Post subject: Message Remains on the queue Reply with quote

Newbie

Joined: 29 Jul 2004
Posts: 6

Hi All,

I wrote a listner app in .NET C#. Once I open the queue it would not close. It waits for the messages and as soon as message comes it processes the message and again waits for message. If for some reason If I stop the application all ready read messages are still in the queue. My application is reading those messages again. Is there any way I can delete the messages from queue as soon as I get them.

Shall I need to close the queue after reading message to delete it? If I do that I have to open the queue again and again. Am I missing anything or is there are any workaround.

Can somebody help in this



Thanks

Nagamalli
Back to top
View user's profile Send private message
jsware
PostPosted: Mon Aug 09, 2004 12:52 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

If you're using transactions and you don't commit, the messages may get backed out when your application ends.

Have a look at the backout count of the messages in MQExplorer to see whether the transaction is being rolled back.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
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 » WebSphere Message Broker (ACE) Support » Message Remains on the 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.