Repository: activemq-artemis Updated Branches: refs/heads/master ba1b68faf -> 901428a7c
ARTEMIS-1342: Support Netty Native KQueue on macOS - Logging fix Correct the logging id to correct matching id for level. Correct remoting threads prop name to begin with lower case. Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/5793dbaa Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/5793dbaa Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/5793dbaa Branch: refs/heads/master Commit: 5793dbaa3c6f8151707cf356c5d216568fb02026 Parents: ba1b68f Author: Michael Andre Pearce <michael.andre.pea...@me.com> Authored: Thu Aug 10 02:20:26 2017 +0100 Committer: Michael Andre Pearce <michael.andre.pea...@me.com> Committed: Thu Aug 10 02:55:30 2017 +0100 ---------------------------------------------------------------------- .../artemis/core/client/ActiveMQClientLogger.java | 10 +++++----- .../core/remoting/impl/netty/TransportConstants.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5793dbaa/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java ---------------------------------------------------------------------- diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java index 9814d88..5394392 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/ActiveMQClientLogger.java @@ -392,6 +392,11 @@ public interface ActiveMQClientLogger extends BasicLogger { format = Message.Format.MESSAGE_FORMAT) void failedToSetChannelReadyForWriting(@Cause Throwable e); + @LogMessage(level = Logger.Level.WARN) + @Message(id = 212073, value = "Unable to check KQueue availability ", + format = Message.Format.MESSAGE_FORMAT) + void unableToCheckKQueueAvailability(@Cause Throwable e); + @LogMessage(level = Logger.Level.ERROR) @Message(id = 214000, value = "Failed to call onMessage", format = Message.Format.MESSAGE_FORMAT) void onMessageError(@Cause Throwable e); @@ -536,9 +541,4 @@ public interface ActiveMQClientLogger extends BasicLogger { @Message(id = 214033, value = "Cannot resolve host ", format = Message.Format.MESSAGE_FORMAT) void unableToResolveHost(@Cause UnknownHostException e); - - @LogMessage(level = Logger.Level.WARN) - @Message(id = 214034, value = "Unable to check KQueue availability ", - format = Message.Format.MESSAGE_FORMAT) - void unableToCheckKQueueAvailability(@Cause Throwable e); } http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5793dbaa/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/TransportConstants.java ---------------------------------------------------------------------- diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/TransportConstants.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/TransportConstants.java index 646de80..47a477d 100644 --- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/TransportConstants.java +++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/TransportConstants.java @@ -137,7 +137,7 @@ public class TransportConstants { public static final String WRITE_BUFFER_HIGH_WATER_MARK_PROPNAME = "writeBufferHighWaterMark"; - public static final String REMOTING_THREADS_PROPNAME = "RemotingThreads"; + public static final String REMOTING_THREADS_PROPNAME = "remotingThreads"; public static final String BATCH_DELAY = "batchDelay";