Fix STOMP and WebSocket modules to the latest SF
* The `@MessageMapping` now requires `@SendTo` for replies even if we are going to send to the default topic * Fix assertion for exception message in the `StompInboundChannelAdapterWebSocketIntegrationTests`
This commit is contained in:
@@ -176,7 +176,8 @@ public class StompInboundChannelAdapterWebSocketIntegrationTests extends LogAdju
|
||||
Throwable throwable = errorMessage.getPayload();
|
||||
assertThat(throwable, instanceOf(MessageHandlingException.class));
|
||||
assertThat(throwable.getCause(), instanceOf(MessageConversionException.class));
|
||||
assertThat(throwable.getMessage(), containsString("No suitable converter, payloadType=interface java.util.Map"));
|
||||
assertThat(throwable.getMessage(),
|
||||
containsString("No suitable converter for payload type [interface java.util.Map]"));
|
||||
|
||||
this.serverContext.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user