Merge branch '7.0.x'

This commit is contained in:
Juergen Hoeller
2026-06-26 18:21:51 +02:00
5 changed files with 24 additions and 0 deletions
@@ -73,6 +73,11 @@ import org.springframework.messaging.core.MessagePostProcessor;
* .receive();
* </pre>
*
* <p><b>Note that Spring's JMS setup is designed to be used against trusted
* broker setups, with trusted packages for {@code ObjectMessage} deserialization
* to be configured at the broker level (for example: in the ActiveMQ setup).</b>
* Alternatively, you may configure a custom {@link Builder#messageConverter converter}.
*
* @author Juergen Hoeller
* @author Brian Clozel
* @since 7.0
@@ -78,6 +78,11 @@ import org.springframework.util.ClassUtils;
* application's environment naming context via JNDI; application servers
* typically expose pooled, transaction-aware factories there.
*
* <p><b>Note that Spring's JMS setup is designed to be used against trusted
* broker setups, with trusted packages for {@code ObjectMessage} deserialization
* to be configured at the broker level (for example: in the ActiveMQ setup).</b>
* Alternatively, you may configure a custom {@link #setMessageConverter converter}.
*
* @author Mark Pollack
* @author Juergen Hoeller
* @author Stephane Nicoll
@@ -119,6 +119,11 @@ import org.springframework.util.backoff.FixedBackOff;
* "AUTO_ACKNOWLEDGE" mode, this container applies automatic message acknowledgment
* before listener execution, with no redelivery in case of an exception.
*
* <p><b>Note that Spring's JMS setup is designed to be used against trusted
* broker setups, with trusted packages for {@code ObjectMessage} deserialization
* to be configured at the broker level (for example: in the ActiveMQ setup).</b>
* Alternatively, you may configure a custom {@link #setMessageConverter converter}.
*
* @author Juergen Hoeller
* @author Sam Brannen
* @since 2.0
@@ -59,6 +59,11 @@ import org.springframework.util.Assert;
* transactional receipt of messages (registering them with XA transactions),
* see {@link DefaultMessageListenerContainer}.
*
* <p><b>Note that Spring's JMS setup is designed to be used against trusted
* broker setups, with trusted packages for {@code ObjectMessage} deserialization
* to be configured at the broker level (for example: in the ActiveMQ setup).</b>
* Alternatively, you may configure a custom {@link #setMessageConverter converter}.
*
* @author Juergen Hoeller
* @since 2.0
* @see jakarta.jms.MessageConsumer#setMessageListener
@@ -41,6 +41,10 @@ import org.springframework.util.ObjectUtils;
* {@link jakarta.jms.BytesMessage}, a Map to a {@link jakarta.jms.MapMessage}, and
* a Serializable object to a {@link jakarta.jms.ObjectMessage} (or vice versa).
*
* <p><b>Note that this converter must only be used against trusted broker setups,
* with trusted packages for {@code ObjectMessage} deserialization to be configured
* at the broker level (for example: in the ActiveMQ setup) if necessary.</b>
*
* @author Juergen Hoeller
* @author Sam Brannen
* @since 1.1