반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ChannelPipeline
- MySQL
- QueryDSL
- Hibernate
- vue.js
- argo cd
- coalesce
- redis
- spring boot
- Netty
- RabbitMQ
- jmeter
- Docker Compose
- docker compose mysql
- spring cloud
- netflix oss
- grafana
- Spring Open Feign
- weblogic 10
- Redis Sentinel
- mybatis
- spring boot redis
- JPA
- KAFKA
- Selenium
- cassandra
- Airflow
- docker
- docker-compose
- WebLogic
Archives
- Today
- Total
목록spring webflux error handling (1)
IT.FARMER
spring webflux error 처리
spring webflux error 처리 Mono / Flux .doOnError() : 예외가 발생했을 경우 특정 행위를 실행 시킬대 사용 .onErrorReturn () : 예외가 발생 했을때 특정 값을 리턴 함 .onErrorResume() : 예외가 발생 했을때 오류에 따라 대체를 선택하는 기능을 사용함. 오류가 발생하면 반환된 대체 게시자를 구독 하여 사용 .onErrorContinue() : 예외가 발생 했을대 멈추지 않고 해당 영역만 skip 하고 동작함. @Slf4j public class WebFluxError { @Test public void onErrorResume() { Flux.range(0, 5) .map(integer -> { if (integer == 3) { throw ..
Spring/Spring WebFlux
2020. 6. 22. 15:42