Interface MessageSender<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(T payload)
Make sure every MessageSender also acts as Consumervoid
send(T payload)
void
send(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
-
-