Skip to content

Commit 55f91e5

Browse files
committed
Corrected Javadoc: handleListenerException() and invokeErrorHandler() log at WARN level, not at ERROR level.
1 parent 8bd1fc8 commit 55f91e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

org.springframework.jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2010 the original author or authors.
2+
* Copyright 2002-2011 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -644,8 +644,8 @@ protected boolean isSessionLocallyTransacted(Session session) {
644644

645645
/**
646646
* Handle the given exception that arose during listener execution.
647-
* <p>The default implementation logs the exception at error level,
648-
* not propagating it to the JMS provider - assuming that all handling of
647+
* <p>The default implementation logs the exception at warn level,
648+
* not propagating it to the JMS provider &mdash; assuming that all handling of
649649
* acknowledgement and/or transactions is done by this listener container.
650650
* This can be overridden in subclasses.
651651
* @param ex the exception to handle
@@ -683,7 +683,7 @@ protected void invokeExceptionListener(JMSException ex) {
683683
}
684684

685685
/**
686-
* Invoke the registered ErrorHandler, if any. Log at error level otherwise.
686+
* Invoke the registered ErrorHandler, if any. Log at warn level otherwise.
687687
* @param ex the uncaught error that arose during JMS processing.
688688
* @see #setErrorHandler
689689
*/

0 commit comments

Comments
 (0)