Add @FunctionalInterface to MessagePostProcessor
Add the @FunctionalInterface annotation to the MessagePostProcessor interfaces in the spring-jms and spring-messaging projects. Closes gh-25571
This commit is contained in:
parent
e25e690ad4
commit
6a7e58ac82
|
@ -32,6 +32,7 @@ import javax.jms.Message;
|
|||
* @see JmsTemplate#convertAndSend(javax.jms.Destination, Object, MessagePostProcessor)
|
||||
* @see org.springframework.jms.support.converter.MessageConverter
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface MessagePostProcessor {
|
||||
|
||||
/**
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.springframework.messaging.Message;
|
|||
* @see MessageSendingOperations
|
||||
* @see MessageRequestReplyOperations
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface MessagePostProcessor {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue