Update the Jetty WebSocket adapter

This changes switches from using Jetty's WebSocketListener interface
to use Jetty's @WebSocket annotations instead. The change should be
transparent but the annnotations provide a little more controler
including handling pong frames.

This change also introduces a WebSocketMessage interface.

Issue: SPR-10877
This commit is contained in:
Rossen Stoyanchev
2013-08-29 17:12:31 -04:00
parent 7d5b34a7c5
commit 164a9f938c
14 changed files with 238 additions and 186 deletions

View File

@@ -28,6 +28,8 @@ import org.springframework.messaging.MessagingException;
*/
public class MessageHandlingException extends MessagingException {
private static final long serialVersionUID = 690969923668400297L;
public MessageHandlingException(Message<?> message, String description, Throwable cause) {
super(message, description, cause);

View File

@@ -26,8 +26,11 @@ import org.springframework.context.ApplicationEvent;
*/
public class BrokerAvailabilityEvent extends ApplicationEvent {
private static final long serialVersionUID = -8156742505179181002L;
private final boolean brokerAvailable;
/**
* Creates a new {@code BrokerAvailabilityEvent}.
*