Package com.azure.spring.messaging.core
Interface SendOperation
public interface SendOperation
Operations for sending
Message to a destination.-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> voidSend aMessageto the given destination synchronously.Send aMessageto the given destination asynchronously.
-
Method Details
-
sendAsync
Send aMessageto the given destination asynchronously.- Type Parameters:
T- payload class in message- Parameters:
destination- destinationmessage- message- Returns:
- Mono Void
-
send
Send aMessageto the given destination synchronously.- Type Parameters:
T- payload class in message- Parameters:
destination- destinationmessage- message
-