Gets the port on which the server is listening.
This is useful if you bound the server specifying 0 as port number signifying an ephemeral port.Closes the server.
Closes the server.
Configures the StompServerHandler. You must calls this method before calling the {@link StompServer#listen} method.
Checks whether or not the server is listening.
Connects the STOMP server default port (61613) and network interface (0.0.0.0
). Once the socket
it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Connects the STOMP server default port (61613) and network interface (0.0.0.0
). Once the socket
it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Connects the STOMP server to the given port. This method use the default host (0.0.0.0
). Once the socket
it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Connects the STOMP server to the given port. This method use the default host (0.0.0.0
). Once the socket
it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Connects the STOMP server to the given port / interface. Once the socket it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Connects the STOMP server to the given port / interface. Once the socket it bounds calls the given handler with the result. The result may be a failure if the socket is already used.
Gets the able to manage web socket connections. If the web socket bridge is disabled, it returns
null
.
Configures the handler that is invoked every time a frame is going to be written to the "wire". It lets you log the frames, but also adapt the frame if needed.
Creates a StompServer based on the default Stomp Server implementation.
Creates a StompServer based on the default Stomp Server implementation.
Creates a StompServer based on the default Stomp Server implementation.
Creates a StompServer based on the default Stomp Server implementation, and use the default options.
Generated using TypeDoc
Defines a STOMP server. STOMP servers delegates to a StompServerHandler that let customize the behavior of the server. By default, it uses a handler compliant with the STOMP specification, but let you change anything.