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 1296be2927..d8a5b06e7b 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 @@ -233,7 +233,7 @@ public class CachingConnectionFactory extends SingleConnectionFactory { else { Session targetSession = createSession(con, mode); if (logger.isDebugEnabled()) { - logger.debug("Creating cached JMS Session for mode " + mode + ": " + targetSession); + logger.debug("Registering cached JMS Session for mode " + mode + ": " + targetSession); } session = getCachedSessionProxy(targetSession, sessionList); } @@ -393,7 +393,7 @@ public class CachingConnectionFactory extends SingleConnectionFactory { else { producer = this.target.createProducer(dest); if (logger.isDebugEnabled()) { - logger.debug("Creating cached JMS MessageProducer for destination [" + dest + "]: " + producer); + logger.debug("Registering cached JMS MessageProducer for destination [" + dest + "]: " + producer); } this.cachedProducers.put(cacheKey, producer); } @@ -439,7 +439,7 @@ public class CachingConnectionFactory extends SingleConnectionFactory { consumer = this.target.createConsumer(dest, selector); } if (logger.isDebugEnabled()) { - logger.debug("Creating cached JMS MessageConsumer for destination [" + dest + "]: " + consumer); + logger.debug("Registering cached JMS MessageConsumer for destination [" + dest + "]: " + consumer); } this.cachedConsumers.put(cacheKey, consumer); }