|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessagingService
The KCB MessagingService provides an API to deliver messages to arbitrary multiple endpoints.
Method Summary | |
---|---|
Long |
deliver(MessageDTO message)
Delivers a message |
void |
remove(long messageId,
String user,
String cause)
Removes a specific message and all deliveries |
Long |
removeByOriginId(String originId,
String user,
String cause)
Removes a specific message and all deliveries. |
Method Detail |
---|
Long deliver(MessageDTO message) throws MessageDeliveryException, RiceIllegalArgumentException
message
- message to deliver
MessageDeliveryException
RiceIllegalArgumentException
void remove(long messageId, String user, String cause) throws MessageDismissalException, RiceIllegalArgumentException
messageId
- id of the message to removeuser
- the user under which the action was takencause
- the cause or action taken to remove the message
MessageDismissalException
RiceIllegalArgumentException
Long removeByOriginId(String originId, String user, String cause) throws MessageDismissalException, RiceIllegalArgumentException
originId
- origin id of the message to removeuser
- the user under which the action was takencause
- the cause or action taken to remove the message
MessageDismissalException
RiceIllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |