Skip to content

Commit

Permalink
fix: identificatie generation producing duplicates during highly-conc…
Browse files Browse the repository at this point in the history
…urrent workload (#143)

* fix: Fix concurrency-based error

* refactor: transactionAttribute adjustment
  • Loading branch information
DelanoWAF authored Sep 6, 2023
1 parent 075cd56 commit 3235a62
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
active="${GenereerIdentificatieEmulator.Active}"
description="">

<Receiver name="GenereerIdentificatieEmulator">
<Receiver name="GenereerIdentificatieEmulator" transactionAttribute="Required">
<JavaListener name="GenereerIdentificatieEmulator"/>
<JdbcErrorStorage
name="JdbcErrorStorage"
Expand All @@ -22,7 +22,8 @@
<FixedQuerySender
query="SELECT IDENTIFICATIE FROM IDENTIFICATIE WHERE TYPE = ?{IdentificatieType}"
queryType="SELECT"
/>
lockWait="10"
lockRows="true"/>
<Param name="IdentificatieType" sessionKey="IdentificatieType"/>
<Forward name="success" path="CheckForDBResult" />
</SenderPipe>
Expand Down

0 comments on commit 3235a62

Please sign in to comment.