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 API Support » Duplication of records using C++ API for MQ

Post new topic  Reply to topic
 Duplication of records using C++ API for MQ « View previous topic :: View next topic » 
Author Message
msvpraveen
PostPosted: Wed Apr 19, 2006 2:47 pm    Post subject: Duplication of records using C++ API for MQ Reply with quote

Novice

Joined: 07 Jul 2005
Posts: 12

I am using C++ API of MQ client to connect to a MQ and get records.
I am using the ImqQueue data structure in C++ API and get method with options set to MQGMO_WAIT | MQGMO_FAIL_IF_QUIESCING and time interval of 15s. Some of the records transfered using this program are getting duplicated.

To sort out whether this is a unique case of data problem I tried to resend the records and they went fine without any duplicates.

Can anyone tell me a possible scenario where records from MQ could be duplicated while reading from a program.

If some error happens during the get process can it be a possibility that we get the message but the message doesn't get deleted from the MQ.
Back to top
View user's profile Send private message Yahoo Messenger
wschutz
PostPosted: Wed Apr 19, 2006 4:04 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Two possibilities are;
(1) you were actually browsing the messages instead of doing a destructive get (GMO_BROWSE)
(2) the unit of work was rolled-back (MQBACK)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Duplication of records using C++ API for MQ
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.