com.supermap.messagequeue

Class AMQPReceiver



  • public class AMQPReceiver
    extends InternalHandle
    AMQP receiver

    Used to receive the AMQP message

    • Constructor Summary

      Constructors 
      Constructor and Description
      AMQPReceiver() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dispose()
      Destructor, release resources
      AMQPReturnMessage receiveMessage()
      Receive message It's needed to perform the operation in sub thread.
      • Methods inherited from class java.lang.Object

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

      • AMQPReceiver

        public AMQPReceiver()
    • Method Detail

      • dispose

        public void dispose()
        Destructor, release resources
      • receiveMessage

        public AMQPReturnMessage receiveMessage()
        Receive message

        It's needed to perform the operation in sub thread.

        Returns:
        Returns the message to be received