|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issue with audit logging |
« View previous topic :: View next topic » |
Author |
Message
|
MasterGD |
Posted: Mon Jun 09, 2014 1:56 am Post subject: Issue with audit logging |
|
|
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 |
|
 |
McueMart |
Posted: Mon Jun 09, 2014 2:11 am Post subject: |
|
|
 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 |
|
 |
MasterGD |
Posted: Mon Jun 09, 2014 10:50 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Jun 10, 2014 5:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|