Skip to content

Flux 기반에서 동작이 가능한 ResponseAdvice 추가 요청 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PCloud63514
Copy link
Contributor

@PCloud63514 PCloud63514 commented Jul 22, 2022

내용

MVC 기반에서 동작이 가능한 ResponseAdvice 내용을 보강하고자 Flux 기반에서 동작이 가능한 ReactiveAdvice을 추가 요청 합니다.

변경사항

build.gradle

flux 동작이 가능하도록 의존성 추가 (implementation 'org.springframework:spring-webflux:5.0.1.RELEASE')

application.properties

application.properties에 reactive 동작이 가능하도록 application type 변경

구성 방법

application.properties에 application type을 REACTIVE로 지정
Application Class에 @EnableResponse 대신 @EnableReactiveResponse 추가

이미지 첨부

image

동작 결과

동작 결과

변경사항
build.gradle
- flux 동작이 가능하도록 의존성 추가 (implementation 'org.springframework:spring-webflux:5.0.1.RELEASE')

application.properties
- reactive 동작이 가능하도록 application type 변경
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant