com.supermap.messagequeue
Class AMQPReceiver
- java.lang.Object
-
- com.supermap.messagequeue.InternalHandle
-
- com.supermap.messagequeue.AMQPReceiver
-
public class AMQPReceiver extends InternalHandle
AMQP receiverUsed 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 resourcesAMQPReturnMessage
receiveMessage()
Receive message It's needed to perform the operation in sub thread.
-
-
-
Method Detail
-
dispose
public void dispose()
Destructor, release resources
-
receiveMessage
public AMQPReturnMessage receiveMessage()
Receive messageIt's needed to perform the operation in sub thread.
- Returns:
- Returns the message to be received
-
-