Interface PutMessageResponse


public interface PutMessageResponse
The response returned by QueueService.putMessage(Message). Contains a list of results that can be used to identify message IDs and connections that the message was sent to, or contains an error if any issue was encountered.
  • Method Details

    • getPutMessageResults

      List<PutMessageResult> getPutMessageResults()
      Retrieves a list of PutMessageResult objects. Each object represents the result of a connection associated with the queue.
      Returns:
      A List of PutMessageResult objects
    • getError

      ErrorResult getError()
      Retrieves errors about any issues encountered when putting the Message onto the queue.
      Returns:
      an ErrorResult object, or null if no error was encountered