@Validated
public interface ICommunicationService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStatusMessage(@NotBlank String messageId)
Check for existence of status message for a message with
messageId. |
Optional<MessageStatusBean> |
popStatusMessage(@NotBlank String messageId)
Get information about
status of message with messageId and delete it. |
String |
pushMessage(@NotNull @Valid MessageBean message)
Push a message to dispatch asynchronously.
|
Optional<MessageStatusBean> popStatusMessage(@NotBlank @NotBlank String messageId)
status of message with messageId and delete it.messageId - The message id returned by pushMessage(MessageBean) or by #sendMessage(MessageBean)Optional.empty() if no message record exists with the indicated messageIdServiceException - On service exceptions errorsboolean isStatusMessage(@NotBlank
@NotBlank String messageId)
messageId.messageId - The message id of the associated messagemessageId and false if notString pushMessage(@NotNull @Valid @NotNull @Valid MessageBean message)
message - The message to sendServiceException - On service exceptions errorsCopyright © 2021 Albirar. All rights reserved.