@@ -239,7 +239,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
239
239
* @return the message received by the consumer, or {@code null} if the timeout expires
240
240
* @throws JmsException checked JMSException converted to unchecked
241
241
*/
242
- @ Nullable Message receiveSelected (String messageSelector ) throws JmsException ;
242
+ @ Nullable Message receiveSelected (@ Nullable String messageSelector ) throws JmsException ;
243
243
244
244
/**
245
245
* Receive a message synchronously from the specified destination, but only
@@ -252,7 +252,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
252
252
* @return the message received by the consumer, or {@code null} if the timeout expires
253
253
* @throws JmsException checked JMSException converted to unchecked
254
254
*/
255
- @ Nullable Message receiveSelected (Destination destination , String messageSelector ) throws JmsException ;
255
+ @ Nullable Message receiveSelected (Destination destination , @ Nullable String messageSelector ) throws JmsException ;
256
256
257
257
/**
258
258
* Receive a message synchronously from the specified destination, but only
@@ -266,7 +266,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
266
266
* @return the message received by the consumer, or {@code null} if the timeout expires
267
267
* @throws JmsException checked JMSException converted to unchecked
268
268
*/
269
- @ Nullable Message receiveSelected (String destinationName , String messageSelector ) throws JmsException ;
269
+ @ Nullable Message receiveSelected (String destinationName , @ Nullable String messageSelector ) throws JmsException ;
270
270
271
271
272
272
//---------------------------------------------------------------------------------------
0 commit comments