Package com.veeva.vault.sdk.api.queue
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 Summary
Modifier and TypeMethodDescriptiongetError()
Retrieves errors about any issues encountered when putting theMessage
onto the queue.Retrieves a list ofPutMessageResult
objects.
-
Method Details
-
getPutMessageResults
List<PutMessageResult> getPutMessageResults()Retrieves a list ofPutMessageResult
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 theMessage
onto the queue.- Returns:
- an
ErrorResult
object, or null if no error was encountered
-