Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages.
@param receiveMessageRequest Container for the necessary parameters toexecute the ReceiveMessage service method on AmazonSQS. @return The response from the ReceiveMessage service method, asreturned by AmazonSQS. @throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. @throws AmazonServiceException If an error response is returned by AmazonSQS indicating either a problem with the data in the request, or a server side issue.Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages.
@param receiveMessageRequest Container for the necessary parameters toexecute the ReceiveMessage service method on AmazonSQS. @return The response from the ReceiveMessage service method, asreturned by AmazonSQS. @throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. @throws AmazonServiceException If an error response is returned by AmazonSQS indicating either a problem with the data in the request, or a server side issue.IN
or INOUT
parameters of the sender tool, stored in the Map
object by formal parameter name.
@return the message or null
if the process hasbeen closed or removed
@throws RemoteException if a system-level error occurs
|
|
|
|
|
|
|
|
|
|
|
|
|
|