diff --git a/spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java b/spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java index 367d8b804a7..b608b46a49f 100644 --- a/spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java +++ b/spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,8 @@ import org.springframework.util.ObjectUtils; * *
NOTE: This ConnectionFactory decorator requires JMS 1.1 or higher. * You may use it through the JMS 1.0.2 API; however, the target JMS driver - * needs to be compliant with JMS 1.1. + * needs to be compliant with JMS 1.1. Note that there is no JMS 2.0 support + * in this version yet; please upgrade to Spring Framework 4.x for JMS 2.0. * *
When using the JMS 1.0.2 API, this ConnectionFactory will switch
* into queue/topic mode according to the JMS API methods used at runtime:
@@ -242,7 +243,7 @@ public class CachingConnectionFactory extends SingleConnectionFactory {
* @return the wrapped Session
*/
protected Session getCachedSessionProxy(Session target, LinkedList