com.supermap.messagequeue

Class STOMPSender



  • public class STOMPSender
    extends InternalHandle
    STOMP message sender

    Used to send the message of the STOMP service

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dispose()
      Destructor, release resources
      boolean sendMessage(java.lang.String strMsg)
      Send information
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sendMessage

        public boolean sendMessage(java.lang.String strMsg)
        Send information
        Parameters:
        strMsg - the sending message
        Returns:
        Returns true if sent successfully; otherwise false.
      • dispose

        public void dispose()
        Destructor, release resources