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 » General IBM MQ Support » Losing Messages after killing a unix application

Post new topic  Reply to topic
 Losing Messages after killing a unix application « View previous topic :: View next topic » 
Author Message
russell
PostPosted: Thu Oct 04, 2001 11:33 pm    Post subject: Reply with quote

Newbie

Joined: 24 Jun 2001
Posts: 8

Hi all
We have a unix application which is a MQ Client reading from a queue with a -1 on the wait time (ie it waits forever).
If I kill this application, then I put a message on the queue it disappears.
I have tried this with the recieving application restarted, and still the same effect.
Does anyone know whats happening and is there a solution?
regards Russell
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Fri Oct 05, 2001 11:44 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

If the unlimited Get wait is done without the syncpoint option, you will see the first message put to the queue after you abend the app dissappear. The surrogate does not realize there is no app on the other side of the client connect, so it sends the message off. To do this, it needs to remove it from the queue. Since you don't have the syncpoint option set, it can't roll it back once it finds out that there is no app on the other side.

This is the exact reason why getting applications with a client connect must almost always use syncpoint on their gets. It insures the message will be replaced in this scenario.


_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
russell
PostPosted: Sun Oct 07, 2001 4:33 pm    Post subject: Reply with quote

Newbie

Joined: 24 Jun 2001
Posts: 8

Thanks
I sort of thought that was the problem, The odd missed message after a crash isnt vital in my app, so it just a decision to add the overhead of syncpoint.

regards
Russell
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 » General IBM MQ Support » Losing Messages after killing a unix application
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.