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 » Database Input Node On Two Instances Creates Duplicate Msg

Post new topic  Reply to topic
 Database Input Node On Two Instances Creates Duplicate Msg « View previous topic :: View next topic » 
Author Message
kiruthigeshwar
PostPosted: Fri Aug 08, 2014 6:59 am    Post subject: Database Input Node On Two Instances Creates Duplicate Msg Reply with quote

Acolyte

Joined: 31 Oct 2012
Posts: 50

Hi All,
We have a flow which is triggered by an event table when records are inserted to an application table. The polling interval is 5mins. This flow in turn calls another MQ flow and waits for the response using MQ GET node. When the whole flow is done, it updates the application table with status of each request. the problem is we have two broker instances. As they lookup to the same table sometimes they pick the same record from even table and try to build the message which results in duplicate and the flows are processed in milliseconds difference. This results in error during database insert in the flow causing primary key violation. For which our flow already has logic to check whether it is a duplicate request, still they result in error.

Next we created a table in broker database, once a record is picked and message is built we log the unique values of the message and commit immediately in compute node level. The previous issue is resolved but, a few of the messages are processed by the internally called MQ flow but their status is not updated in the application table.

Does this have anything to do with Transaction Mode.


Please help.
_________________
Regards,
Kiruthigeshwar
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 » WebSphere Message Broker (ACE) Support » Database Input Node On Two Instances Creates Duplicate Msg
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.