com.supermap.messagequeue

Class AMQPReturnMessage



  • public class AMQPReturnMessage
    extends InternalHandle
    AMQP message class

    Indicates that the message received by the receiver, from which the queue name and the specific message content can be obtained

    • Constructor Summary

      Constructors 
      Constructor and Description
      AMQPReturnMessage()
      The constructor of AMQP message class
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMessage()
      Gets the message string
      java.lang.String getQueue()
      Gets the queue name
      • Methods inherited from class java.lang.Object

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

      • AMQPReturnMessage

        public AMQPReturnMessage()
        The constructor of AMQP message class
    • Method Detail

      • getQueue

        public java.lang.String getQueue()
        Gets the queue name
        Returns:
        return the queue name
      • getMessage

        public java.lang.String getMessage()
        Gets the message string
        Returns:
        Returns the message to be received