Skip to content

Conversation

@catturtle123
Copy link
Contributor

@catturtle123 catturtle123 commented Feb 9, 2026

PR Title

Propagate native STOMP headers to broker via HeaderFilter


Summary

This PR implements the propagation of native STOMP headers based on a predicate, as discussed in previous feedback. The core focus is ensuring that specific native headers (e.g., those with an x- prefix) are correctly carried over to the broker-bound messages.

Key Implementation Details:

  • Native Header Filtering: Configured addHeaderFilter to propagate native headers starting with the x- prefix to response messages.
  • Updated SendToMethodReturnValueHandler: Supports header propagation for @SendTo responses.
  • Updated SubscriptionMethodReturnValueHandler: Supports header propagation for @SubscribeMapping responses.
  • Updated unit tests to verify native header propagation via SimpMessageHeaderAccessor

Local Test (not included in this PR)

스크린샷 2026-02-10 오전 4 11 40

Related Issues


…native headers

Signed-off-by: Junhwan Kim <musoyou1085@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make SendToMethodReturnValueHandler and SubscriptionMethodReturnValueHandler customizable, to allow for pass-through of message headers

3 participants