M
- as Message
public interface BulkDispatcher<M extends Message> extends GenericDispatcher<M>
Message.getRecipients()
= 1. Call a direct APIMessage.getRecipients()
> 1. If infrastructure supports a broadcast then use it else use dispatch(List)
dispatch(List)
in a Loop if not Bulk option availableModifier and Type | Method and Description |
---|---|
default void |
broadcast(M message) |
void |
dispatch(List<M> messages) |
accept, dispatch, getSettings, transform
Copyright © 2018. All rights reserved.