SimpMessagingTemplate.send

If the headers of the given message already contain a {@link hunt.stomp.simp.SimpMessageHeaderAccessor#DESTINATION_HEADER 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 configured. @param message the message to send (never {@code null})

class SimpMessagingTemplate
override
void
send

Meta