Merge branch '6.1.x'

This commit is contained in:
Stéphane Nicoll
2024-03-09 16:03:04 +01:00
21 changed files with 54 additions and 108 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -130,8 +130,8 @@ public class SimpMessagingTemplate extends AbstractMessageSendingTemplate<String
* SimpMessageHeaderAccessor#DESTINATION_HEADER} then the message is sent without
* further changes.
* <p>If a destination header is not already present ,the message is sent
* to the configured {@link #setDefaultDestination(Object) defaultDestination}
* or an exception an {@code IllegalStateException} is raised if that isn't
* to the configured {@link AbstractMessageSendingTemplate#setDefaultDestination(Object)
* defaultDestination} or an {@code IllegalStateException} is raised if that isn't
* configured.
* @param message the message to send (never {@code null})
*/