Vote count: 0 Please see below code. I use AsyncRestTemplate to make resttemplate asynchronously. This method should wait all asyncresttemplate processes till done, And It will retu reviewContent. Problem is callback methods are not working properly. So I can't take proper retu value of optionName and membershipGradeCode and reviewType. Could someone explain what am I missing now? public ReviewContent getRepresentativeReviewContent(Long dealNo, Long categoryNo, String setId) { Optional review = Optional.ofNullable(boardApi.getRepresentativeReviewContent(dealNo)); if (review.isPresent()) { Long memberNo = Long.valueOf(review.get().get("memberNo").toString()); ReviewContent reviewContent = new...
ادامه مطلب