--- kind: CONCEPT slug: messaging-spring-boot-starter-c02 title: 모든 거부가 타입이 아니라 키를 부른다 topic: delivery-and-settlement-models project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: concept:messaging-spring-boot-starter-c02 evidenceCapturedOn: 2026-09-01 assets: - key: messaging-spring-boot-starter-c02 file: ../../../final/evidence/rendered/messaging-spring-boot-starter-c02.svg evidence: - ../../../final/evidence/raw/messaging-spring-boot-starter-c02.txt source: - 원본 분석 절은 final/document.md#a19-messaging-spring-boot-starter#L111 이다. module: messaging-spring-boot-starter --- # 모든 거부가 타입이 아니라 키를 부른다 MessagingConfigurationCompiler 가 닫는 것은 기능이 아니라 바인더의 부재다. 컴파일과 검증을 나눈 이유도 적혀 있다. ## 관계 - **검증기는 발행이 아니라 주입이 강제다** 같은 분석 리프에서 끌어낸 규칙이다. ## 본문 `MessagingConfigurationCompiler` 가 닫는 것은 기능이 아니라 바인더의 부재다. 컴파일과 검증을 나눈 이유도 적혀 있다. ## MessagingConfigurationCompiler 참조 위치 :::evidence key="messaging-spring-boot-starter-c02" alt="코드베이스에서 MessagingConfigurationCompiler 를 검색한 출력 4줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="MessagingConfigurationCompiler 코드베이스 검색 — 4줄 · exit 0" zoom="true" ::: ## 컴파일이 보는 것 객체 모델이 표현할 수 없는 것만 본다 — 목적지의 브로커가 존재하는지, 사후 처리 목적지가 선언되었는지, 보안 항목이 실재하는 브로커를 지키는지. 프로파일이 자체로 정합한지는 `DestinationProfileValidator` 의 질문이고 레지스트리 전체에 대해 던져진다. 그래서 설정으로 만든 프로파일과 빈으로 선언한 프로파일이 **같은 규칙**을 받는다. ## 거부가 키를 부르는 이유 타입을 부르는 오류는 운영자가 고칠 줄을 알려 주지 않기 때문이다.