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 » Issue with audit logging

Post new topic  Reply to topic
 Issue with audit logging « View previous topic :: View next topic » 
Author Message
MasterGD
PostPosted: Mon Jun 09, 2014 1:56 am    Post subject: Issue with audit logging Reply with quote

Novice

Joined: 21 Feb 2013
Posts: 10

Dear All , i have a audit logging flow which will insert the req , resp message in the db(oracle 11g).
flow works as follows:
im logging the message in 2 location
1. Insert request message and starttime and other details in the db from request flow and
2. update response message and end time in the DB from response flow using the "if condition" based on tracking id and chlreq. If request is not found then insert the response message with all the details.

PB: when i was using single instance auditing is working properly inserting a single DB row. But when i increased the audit logging instances to 10 then response message is inserting in a new line . as per my understanding pb is as the instances increased and messages processed faster. insertion and updation is happening parallely and condition for update is not satisfied , so as per the logic flow is inserting the response message in a new line instead of updating the req row...

Any suggestion to handle this situation .......
Back to top
View user's profile Send private message
McueMart
PostPosted: Mon Jun 09, 2014 2:11 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Explain your flows in a bit more detail. e.g. what input/output nodes are you using?

It sounds like the "insert" transaction is still active when you receive the response message which results in you creating a new row, rather than updating the original one.
Back to top
View user's profile Send private message
MasterGD
PostPosted: Mon Jun 09, 2014 10:50 pm    Post subject: Reply with quote

Novice

Joined: 21 Feb 2013
Posts: 10

its a simple flow
Audit logging subflow put a messge in a queue and main flow as follows


MqInput----> Compute(node to insert the db)

and i totally agree that insert is still is processing an dwe are getting the reply so if condition is not satisfying.. so any suggestionhow can i handle this scenario.....

i tried with "commit " after the insert is done and also with compute node transaction type to commit but no use ...

all suggestion are appreciated...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 10, 2014 5:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Have you thought about using event messages and sequencing / resequencing them, or using them with a collection ?
_________________
MQ & Broker admin
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 » IBM MQ API Support » Issue with audit logging
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.