BAEL-3200 Error handling with Spring AMQP

This commit is contained in:
Alexander Molochko
2019-10-17 03:01:56 +03:00
parent db85c8f275
commit 70d5e7c57d
20386 changed files with 1639315 additions and 0 deletions
@@ -0,0 +1,24 @@
package com.baeldung.kafka;
public class Tuple {
private String key;
private Integer value;
private Tuple(String key, Integer value) {
this.key = key;
this.value = value;
}
public static Tuple of(String key, Integer value){
return new Tuple(key,value);
}
public String getKey() {
return key;
}
public Integer getValue() {
return value;
}
}