Skip to content

Host header initialization breaking change in StompRelayMessageBrokerHandler #36907

Closed

Description

@twiedow

This is related to #36663 / #36673 (comment)

There I wrote:

I don't know if this also lead to problem like mine in other cases: Due to this change, the client could not connect to the external broker (RabbitMQ in my case) and responded with error Virtual host 'localhost' access denied.

RabbitMQ has a standard virtual host configured with name '/'. The RabbitMQ STOMP docs says that if there is no host set in the headers it defaults to '/'.

In order to fix this error I have to set the virtual host in the StompBrokerRelayRegistration explicitly to '/'.

In my eyes this change is a breaking change and should have been mentioned somewhere.

Activity

  1. self-assigned this
    on Jun 12, 2026
  2. added this to the 7.0.9 milestone on Jun 12, 2026
  3. changed the title [-]Breaking change in: Consistently set host header in StompRelayMessageBrokerHandler[/-] [+]Host header initialization breaking change in StompRelayMessageBrokerHandler[/+] on Jun 22, 2026
  4. added a commit that references this issue on Jun 22, 2026
    1a89363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions