public final class GetMessage extends ParentClient
| Constructor and Description |
|---|
GetMessage()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RetrievedMessage |
get(java.math.BigInteger code)
Gets the message with the given code.
|
RetrievedMessage |
get(java.lang.Long code)
Gets the message with the given code.
|
RetrievedMessage |
get(java.util.Map<java.lang.String,java.lang.String> msgOptions)
Gets the message using the given parameters.
|
RetrievedMessage |
get(java.lang.String queue)
Gets the message from the queue.
|
RetrievedMessage |
get(java.lang.String messageIdentification,
java.lang.Integer messageVersion)
Gets the message with the given identification and version.
|
RetrievedMessage |
get(java.lang.String messageIdentification,
java.lang.Integer messageVersion,
java.lang.Long code,
java.lang.String queue)
Gets the message using the given parameters.
|
getMessageMetaData, sendMessage, setCertificate, setEndPoint, setEndPoint, setPrivateKey, setSignRequest, setVerifyResponse, validateResponse, validateResponsepublic RetrievedMessage get(java.lang.String messageIdentification, java.lang.Integer messageVersion) throws es.ree.eemws.core.utils.operations.get.GetOperationException
messageIdentification - Message's identification.messageVersion - Message's version. Can be null if no version applies.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public RetrievedMessage get(java.math.BigInteger code) throws es.ree.eemws.core.utils.operations.get.GetOperationException
code - Message's code.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)get(Long)public RetrievedMessage get(java.lang.Long code) throws es.ree.eemws.core.utils.operations.get.GetOperationException
code - Message's code.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)get(BigInteger)public RetrievedMessage get(java.lang.String queue) throws es.ree.eemws.core.utils.operations.get.GetOperationException
queue - Queue value.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public RetrievedMessage get(java.util.Map<java.lang.String,java.lang.String> msgOptions) throws es.ree.eemws.core.utils.operations.get.GetOperationException
msgOptions - List options as a Map which key must be on the EnumFilterElement list.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)public RetrievedMessage get(java.lang.String messageIdentification, java.lang.Integer messageVersion, java.lang.Long code, java.lang.String queue) throws es.ree.eemws.core.utils.operations.get.GetOperationException
messageIdentification - Message's identification.messageVersion - Message's version. Can be null if no version applies.code - Message's code.queue - Queue value.es.ree.eemws.core.utils.operations.get.GetOperationException - If the retrieved message has an invalid format or the application cannot handle it
or if the retrieved message has invalid signature or is not valid (has no header, invalid verb, etc.)