Skip to content

Commit

Permalink
perf: forEachChildElementPipe pipes execute in parallel without ignor…
Browse files Browse the repository at this point in the history
…ing errors (#264)

* fix: parallel=true attribute is added back to ForEachChildElementPipe

* add parallel true for ZaakTypeInformatieObjectTypeUrlIterator

---------

Co-authored-by: Meric Akgul <[email protected]>
Co-authored-by: MLenterman <[email protected]>
  • Loading branch information
3 people authored Jan 26, 2024
1 parent 0f68c22 commit c4a975b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<Forward name="exception" path="EXCEPTION" />
</SenderPipe>

<!-- https://github.com/ibissource/zaakbrug/issues/149 -->
<ForEachChildElementPipe name="ZgwZaakInformatieObjectenIterator"
elementXPathExpression="/ZgwZaakInformatieObjecten/ZgwZaakInformatieObject">
elementXPathExpression="/ZgwZaakInformatieObjecten/ZgwZaakInformatieObject"
parallel="true">
<IbisLocalSender
name="CallHandleZgwZaakInformatieObjecten"
javaListener="HandleZgwZaakInformatieObjecten">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
name="ZaakTypeInformatieObjectTypeUrlIterator"
getInputFromSessionKey="ZgwZaakType"
storeResultInSessionKey="ZgwInformatieObjectTypen"
elementXPathExpression="/ZgwZaakType/informatieobjecttypen">
elementXPathExpression="/ZgwZaakType/informatieobjecttypen"
parallel="true" >
<IbisLocalSender
name="GetZgwInformatieObjectTypeByUrlLocalSender"
javaListener="GetZgwInformatieObjectTypeByUrl">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,10 @@
<Forward name="success" path="PostStatusIterator"/>
</XsltPipe>

<!-- https://github.com/ibissource/zaakbrug/issues/144 -->
<ForEachChildElementPipe name="PostStatusIterator"
getInputFromSessionKey="NewStatuses"
elementXPathExpression="ZgwStatussen/ZgwStatus">
elementXPathExpression="ZgwStatussen/ZgwStatus"
parallel="true">
<IbisLocalSender
name="PostZgwStatusLocalSender"
javaListener="Zaken_PostZgwStatus">
Expand Down

0 comments on commit c4a975b

Please sign in to comment.