hmm...I didn't set it manually. Is that default to false?
于 2014/2/12 10:21, Willem Jiang 写道:
I just checked the code and found an interesting thing. public class DefaultSpringErrorHandler implements ErrorHandler { private final LoggingExceptionHandler handler; private final boolean logStackTrace; public DefaultSpringErrorHandler(Class<?> owner, LoggingLevel level, boolean logStackTrace) { this.handler = new LoggingExceptionHandler(owner, level); this.logStackTrace = logStackTrace; } @Override public void handleError(Throwable throwable) { if (logStackTrace) { handler.handleException("Execution of JMS message listener failed", throwable); } else { handler.handleException("Execution of JMS message listener failed. Caused by: [" + throwable.getMessage() + "]", null); } } } I double you set the jms configure option errorHandlerLogStackTrace to be false. You can get the full stack trace if you set the option to true. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem