Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2011 the original author or authors.
|
||||
* Copyright 2002-2017 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.
|
||||
@@ -27,6 +27,9 @@ package org.springframework.context.annotation;
|
||||
* @see org.springframework.transaction.annotation.EnableTransactionManagement#mode()
|
||||
*/
|
||||
public enum AdviceMode {
|
||||
|
||||
PROXY,
|
||||
|
||||
ASPECTJ
|
||||
|
||||
}
|
||||
|
||||
@@ -364,7 +364,9 @@ public class SimpleBrokerMessageHandler extends AbstractBrokerMessageHandler {
|
||||
getClientOutboundChannel().send(reply);
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
logger.error("Failed to send " + message, ex);
|
||||
if (logger.isErrorEnabled()) {
|
||||
logger.error("Failed to send " + message, ex);
|
||||
}
|
||||
}
|
||||
finally {
|
||||
SessionInfo info = this.sessions.get(subscriptionEntry.getKey());
|
||||
|
||||
Reference in New Issue
Block a user