Skip to content

Commit

Permalink
fix ECommerceHangTimerService
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Nov 4, 2024
1 parent 8e8ea51 commit 6994b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void sendMessage(ECommerceHangTimeoutMessage message) {
String sessionId = message.getSessionId();
setEcommerceHangTimerInfoInMDC(fiscalCode, noticeNumber);

String key = String.format(ECOMMERCE_TIMER_MESSAGE_KEY_FORMAT, sessionId, fiscalCode, noticeNumber);
String key = String.format(ECOMMERCE_TIMER_MESSAGE_KEY_FORMAT, noticeNumber, fiscalCode, sessionId);

// If the key is already present in the cache, we delete it to avoid duplicated message.
if (Boolean.TRUE.equals(cacheRepository.hasKey(key))) {
Expand Down

0 comments on commit 6994b15

Please sign in to comment.