public interface Broker
Modifier and Type | Field and Description |
---|---|
static String |
ROLE
For avalon service manager
|
Modifier and Type | Method and Description |
---|---|
String |
getPhoneNumberFromStopRequest()
When a stop request is arriving from broker, the implementation extract the phone number associated
|
void |
send(Set<String> phoneNumbersList,
String message,
String listId)
Send the message from the sender to all the phones in the list
|
void send(Set<String> phoneNumbersList, String message, String listId) throws Exception
phoneNumbersList
- the list of phone numbersmessage
- the message to sendlistId
- the jcr id of the list to send mail toException
- If the message was not sent correctlyString getPhoneNumberFromStopRequest() throws Exception
Exception
- if the phone number was not provided within the stop request