-
Couldn't load subscription status.
- Fork 38.8k
Closed
Closed
Copy link
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: bugA general bugA general bug
Milestone
Description
Gary Russell opened SPR-15670 and commented
In AbstractDestinationResolvingMessagingTemplate, some methods are missing @Nullable on MessagePostProcessor.
For example,
public <T> void convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor)delegates to
public <T> void convertAndSend(String destinationName, T payload, @Nullable Map<String, Object> headers, @Nullable MessagePostProcessor postProcessor)Also
public <T> T convertSendAndReceive(String destinationName, Object request, Class<T> targetClass,
MessagePostProcessor postProcessor)
public <T> T convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers,
Class<T> targetClass, MessagePostProcessor postProcessor)delegate to methods in the superclass that have @Nullable MessagePostProcessor postProcessor.
Affects: 5.0 RC2
Issue Links:
- Introduce null-safety of Spring Framework API [SPR-15540] #20099 Introduce null-safety of Spring Framework API
Referenced from: commits 7e25127
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: bugA general bugA general bug