Skip to content

Commit

Permalink
FIX : ajout déconnexion du Sudoc après récupération des notices impri…
Browse files Browse the repository at this point in the history
…mées pour connexion à la base signal
  • Loading branch information
pierre-maraval committed Nov 7, 2024
1 parent 31c902a commit 27e0704
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/fr/abes/kafkatosudoc/kafka/KbartListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ private Map<String, NoticeConcrete> getNoticesImprimeesFromCatalogue(String file
}
throw e;
}
finally {
service.disconnect();
}
}

@Retryable(maxAttempts = 4, retryFor = IOException.class, noRetryFor = {CBSException.class, ZoneException.class}, backoff = @Backoff(delay = 1000, multiplier = 2))
Expand Down

0 comments on commit 27e0704

Please sign in to comment.