Uses of Class
org.miaixz.bus.http.Stomp
Packages that use Stomp
-
Uses of Stomp in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return StompModifier and TypeMethodDescriptionStomp.connect()Connects to the STOMP server.Stomp.connect(List<Stomp.Header> headers) Connects to the STOMP server with the specified headers.static StompStomp.over(CoverCall.Client task) Creates a STOMP client with automatic message acknowledgment.static StompStomp.over(CoverCall.Client task, boolean autoAck) Creates a STOMP client with a specified acknowledgment mode.Stomp.queue(String destination, List<Stomp.Header> headers, Callback<Stomp.Message> callback) Subscribes to a queue with additional headers.Stomp.queue(String destination, Callback<Stomp.Message> callback) Subscribes to a queue.Stomp.setOnConnected(Callback<Stomp> onConnected) Sets the callback for when the connection is successfully established.Stomp.setOnDisconnected(Callback<CoverCall.Close> onDisconnected) Sets the callback for when the connection is disconnected.Stomp.setOnError(Callback<Stomp.Message> onError) Sets the callback for error messages.Stomp.subscribe(String destination, List<Stomp.Header> headers, Callback<Stomp.Message> callback) Subscribes to a destination.Stomp.topic(String destination, List<Stomp.Header> headers, Callback<Stomp.Message> callback) Subscribes to a topic with additional headers.Stomp.topic(String destination, Callback<Stomp.Message> callback) Subscribes to a topic.Method parameters in org.miaixz.bus.http with type arguments of type StompModifier and TypeMethodDescriptionStomp.setOnConnected(Callback<Stomp> onConnected) Sets the callback for when the connection is successfully established.