Interface MessageSender<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(T payload)Make sure every MessageSender also acts as Consumervoidsend(T payload)voidsend(T payload, Map<String,String> properties)
-
-
-
Method Detail
-
accept
default void accept(T payload)
Make sure every MessageSender also acts as Consumer
-
send
void send(T payload) throws MessagingException
- Throws:
MessagingException
-
send
void send(T payload, Map<String,String> properties) throws MessagingException
- Throws:
MessagingException
-
-