File tree 1 file changed +4
-3
lines changed
SpringBootVertx/src/main/java/com/tistory/heowc/verticle
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
import io .vertx .core .eventbus .EventBus ;
9
9
import io .vertx .core .eventbus .Message ;
10
10
import io .vertx .core .json .Json ;
11
- import lombok .extern .slf4j .Slf4j ;
11
+ import org .slf4j .Logger ;
12
+ import org .slf4j .LoggerFactory ;
12
13
import org .springframework .beans .factory .annotation .Autowired ;
13
14
import org .springframework .stereotype .Component ;
14
15
15
16
@ Component
16
- @ Slf4j
17
17
public class ArticleRecipientVerticle extends AbstractVerticle {
18
18
19
19
public static final String GET_ALL_ARTICLES = "get.articles.all" ;
20
20
21
+ private static final Logger logger = LoggerFactory .getLogger (ArticleRecipientVerticle .class );
21
22
private static final ObjectMapper mapper = Json .mapper ;
22
23
23
24
@ Autowired
@@ -39,7 +40,7 @@ private Handler<Message<String>> getAllArticleService(ArticleService service) {
39
40
try {
40
41
future .complete (mapper .writeValueAsString (service .getAllArticle ()));
41
42
} catch (JsonProcessingException e ) {
42
- log .error ("Failed to serialize result" );
43
+ logger .error ("Failed to serialize result" );
43
44
future .fail (e );
44
45
}
45
46
}, result -> {
You can’t perform that action at this time.
0 commit comments