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:
Philippe Marschall 2020-08-09 13:52:26 +02:00 committed by Sam Brannen
parent e25e690ad4
commit 6a7e58ac82
2 changed files with 2 additions and 0 deletions

View File

@ -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 {
/**

View File

@ -28,6 +28,7 @@ import org.springframework.messaging.Message;
* @see MessageSendingOperations
* @see MessageRequestReplyOperations
*/
@FunctionalInterface
public interface MessagePostProcessor {
/**