From fef4768f89d4d1b8913187d0ce333c8d78afd492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Ar=C4=B1?= Date: Mon, 7 Mar 2022 22:15:18 +0300 Subject: [PATCH] update readme file for JdempotentProperty --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e98c4f9..7393456 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,7 @@ public void consumeMessage(@IdempotentRequestPayload String emailAdress) { ``` If want that idempotencyId in your payload. Put `@JdempotentId` annotation that places the generated idempotency identifier into annotated field. -Can be thought of as @Id annotation in jpa - -For example: +Can be thought of as @Id annotation in jpa. ```java public class IdempotentPaylaod { @@ -68,7 +66,7 @@ public class IdempotentPaylaod { } ``` -You might want to handle the name of the field differently to ensure idempotency. Just use @JdempotentProperty annotation needs to get the field name differently and generate the hash +You might want to handle the name of the field differently to ensure idempotency. Just use @JdempotentProperty annotation needs to get the field name differently and generate the hash inspired by jackson (@JsonProperty annotation) ```java public class IdempotentPaylaod {