Currently SendResult's messageId is a String , in my case ,message id is a object with custom field ,i wonder if it can be a generic type like SendResult<T> ? Thanks for you time
public interface SendResult {
/**
* The unique message id related to the {@code SendResult} instance.
*
* @return the message id
*/
String messageId();
}
Currently SendResult's messageId is a
String
, in my case ,message id is a object with custom field ,i wonder if it can be a generic type likeSendResult<T>
? Thanks for you time