Skip to content

fix: Outbox 최종 실패 상태 변경을 단일 트랜잭션으로 처리 - #13

Merged
KimGyeongLock merged 2 commits into
mainfrom
fix/outbox-final-failure-atomicity
Sep 4, 2026
Merged

fix: Outbox 최종 실패 상태 변경을 단일 트랜잭션으로 처리#13
KimGyeongLock merged 2 commits into
mainfrom
fix/outbox-final-failure-atomicity

Conversation

@KimGyeongLock

@KimGyeongLock KimGyeongLock commented Sep 4, 2026

Copy link
Copy Markdown
Member

@Transactional은 Spring AOP Proxy 기반이라 Proxy를 거쳐 호출되어야 하며, private 메서드나 self-invocation은 기본 Proxy 방식에서 적용되지 않는다.

외부 Bean → @transactional public 메서드
→ Proxy 통과
→ 적용 ✅

같은 객체 → @transactional public 메서드
→ this.method()
→ Proxy 우회
→ 적용 ❌

private @transactional
→ Proxy가 가로챌 수 없음
→ 적용 ❌

@KimGyeongLock
KimGyeongLock merged commit 12fef1e into main Sep 4, 2026
2 checks passed
@KimGyeongLock
KimGyeongLock deleted the fix/outbox-final-failure-atomicity branch September 4, 2026 07:38
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