Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- injellij
- naturalid
- 프로젝트 이름 변경
- OIDC
- 컨트리뷰터
- awspring
- spring-cloud-starter-aws
- @RequestMapping
- fetch join
- ngrinder
- 이펙티브 자바
- assert
- websocket
- 정적 팩터리 메서드
- mockito
- N + 1
- intellij
- JPA
- Git
- convertAndSendToUser
- redis
- MySQLTransactionRollbackException
- AWS
- oauth2.0
- batch insert
- @controller
- Cannotacquirelockexception
- spring
- 성능테스트
- @Transaction(readOnly=true)
Archives
- Today
- Total
목록convertAndSendToUser (1)
정리정리
소켓 통신을 구현하면서 비즈니스 로직 예외 처리를 구현하다가 겪은 삽질들을 기록하려고 합니다.목표는 크게 두 가지였습니다.전역적인 비즈니스 예외 처리subscribe 과정에서 예외가 발생할 경우, 구독에 실패하며 예외 처리우선 동작하는 최종 코드입니다.@Configuration@RequiredArgsConstructor@EnableWebSocketMessageBrokerpublic class WebSocketConfig implements WebSocketMessageBrokerConfigurer { private final AuthChannelInterceptor authChannelInterceptor; private final StompExceptionHandler stompExcepti..
Spring
2025. 8. 18. 12:26