From 55f91e54c4d4996a8ddc47d7b753a9ad175ff765 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 10 Oct 2011 22:13:45 +0000 Subject: [PATCH] Corrected Javadoc: handleListenerException() and invokeErrorHandler() log at WARN level, not at ERROR level. --- .../jms/listener/AbstractMessageListenerContainer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org.springframework.jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java b/org.springframework.jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java index 533685da5f..21efc557e7 100644 --- a/org.springframework.jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java +++ b/org.springframework.jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2011 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. @@ -644,8 +644,8 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen /** * Handle the given exception that arose during listener execution. - *

The default implementation logs the exception at error level, - * not propagating it to the JMS provider - assuming that all handling of + *

The default implementation logs the exception at warn level, + * not propagating it to the JMS provider — assuming that all handling of * acknowledgement and/or transactions is done by this listener container. * This can be overridden in subclasses. * @param ex the exception to handle @@ -683,7 +683,7 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen } /** - * Invoke the registered ErrorHandler, if any. Log at error level otherwise. + * Invoke the registered ErrorHandler, if any. Log at warn level otherwise. * @param ex the uncaught error that arose during JMS processing. * @see #setErrorHandler */