|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2017 the original author or authors. |
|
|
|
* Copyright 2002-2024 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -290,7 +290,7 @@ public interface JmsOperations { |
|
|
|
* <p>This method should be used carefully, since it will block the thread |
|
|
|
* <p>This method should be used carefully, since it will block the thread |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* <p>This will only work with a default destination specified! |
|
|
|
* <p>This will only work with a default destination specified! |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
@ -303,7 +303,7 @@ public interface JmsOperations { |
|
|
|
* <p>This method should be used carefully, since it will block the thread |
|
|
|
* <p>This method should be used carefully, since it will block the thread |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* @param destination the destination to receive a message from |
|
|
|
* @param destination the destination to receive a message from |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
@ -317,7 +317,7 @@ public interface JmsOperations { |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* until the message becomes available or until the timeout value is exceeded. |
|
|
|
* @param destinationName the name of the destination to send this message to |
|
|
|
* @param destinationName the name of the destination to send this message to |
|
|
|
* (to be resolved to an actual destination by a DestinationResolver) |
|
|
|
* (to be resolved to an actual destination by a DestinationResolver) |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
@ -332,7 +332,7 @@ public interface JmsOperations { |
|
|
|
* <p>This will only work with a default destination specified! |
|
|
|
* <p>This will only work with a default destination specified! |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
@ -347,7 +347,7 @@ public interface JmsOperations { |
|
|
|
* @param destination the destination to receive a message from |
|
|
|
* @param destination the destination to receive a message from |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
@ -363,7 +363,7 @@ public interface JmsOperations { |
|
|
|
* (to be resolved to an actual destination by a DestinationResolver) |
|
|
|
* (to be resolved to an actual destination by a DestinationResolver) |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* @param messageSelector the JMS message selector expression (or {@code null} if none). |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* See the JMS specification for a detailed definition of selector expressions. |
|
|
|
* @return the message produced for the consumer or {@code null} if the timeout expires. |
|
|
|
* @return the message produced for the consumer, or {@code null} if the timeout expires |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
* @throws JmsException checked JMSException converted to unchecked |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Nullable |
|
|
|
@Nullable |
|
|
|
|