1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -290,7 +290,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
290
290
* <p>This method should be used carefully, since it will block the thread
291
291
* until the message becomes available or until the timeout value is exceeded.
292
292
* <p>This will only work with a default destination specified!
293
- * @return the message produced for the consumer or {@code null} if the timeout expires.
293
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
294
294
* @throws JmsException checked JMSException converted to unchecked
295
295
*/
296
296
@ Nullable
@@ -303,7 +303,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
303
303
* <p>This method should be used carefully, since it will block the thread
304
304
* until the message becomes available or until the timeout value is exceeded.
305
305
* @param destination the destination to receive a message from
306
- * @return the message produced for the consumer or {@code null} if the timeout expires.
306
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
307
307
* @throws JmsException checked JMSException converted to unchecked
308
308
*/
309
309
@ Nullable
@@ -317,7 +317,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
317
317
* until the message becomes available or until the timeout value is exceeded.
318
318
* @param destinationName the name of the destination to send this message to
319
319
* (to be resolved to an actual destination by a DestinationResolver)
320
- * @return the message produced for the consumer or {@code null} if the timeout expires.
320
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
321
321
* @throws JmsException checked JMSException converted to unchecked
322
322
*/
323
323
@ Nullable
@@ -332,7 +332,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
332
332
* <p>This will only work with a default destination specified!
333
333
* @param messageSelector the JMS message selector expression (or {@code null} if none).
334
334
* See the JMS specification for a detailed definition of selector expressions.
335
- * @return the message produced for the consumer or {@code null} if the timeout expires.
335
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
336
336
* @throws JmsException checked JMSException converted to unchecked
337
337
*/
338
338
@ Nullable
@@ -347,7 +347,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
347
347
* @param destination the destination to receive a message from
348
348
* @param messageSelector the JMS message selector expression (or {@code null} if none).
349
349
* See the JMS specification for a detailed definition of selector expressions.
350
- * @return the message produced for the consumer or {@code null} if the timeout expires.
350
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
351
351
* @throws JmsException checked JMSException converted to unchecked
352
352
*/
353
353
@ Nullable
@@ -363,7 +363,7 @@ void convertAndSend(String destinationName, Object message, MessagePostProcessor
363
363
* (to be resolved to an actual destination by a DestinationResolver)
364
364
* @param messageSelector the JMS message selector expression (or {@code null} if none).
365
365
* See the JMS specification for a detailed definition of selector expressions.
366
- * @return the message produced for the consumer or {@code null} if the timeout expires.
366
+ * @return the message produced for the consumer, or {@code null} if the timeout expires
367
367
* @throws JmsException checked JMSException converted to unchecked
368
368
*/
369
369
@ Nullable
0 commit comments